A rainbow appearing in a dream is the promise of something better to come.

The old story of the pot of gold at the end of the rainbow is so firmly entrenched in folklore that this meaning often comes across in dreams.