A rainbow in a dream typically arrives after some form of hardship, in the dream or in your waking life, and often signals hope and a sense that reconciliation is possible. Seeing one appear right after a storm can point to relief following a difficult period, a reward you feel you've honestly earned.
For every one step that you take in the pursuit of higher knowledge, take three steps in the perfection of your own character. (Rudolf Steiner)