There is nothing to this " covenant " but silly myth and superstition.
A quick Google will explain the mechanisms of rainbows and any third rate poet can expound on the wonder of rainbows.