What does the rainbow symbolize in the story of Noah's ark?

The rainbow represents a promise by God himself. The promise is that he will never flood the Earth again.