If I can't stand on it, pick it up, or kuck it it is not an object. Therefore by rational scientific reasoning a rainbow is not an object. It is an eternal perceptual illusion, a ghost with no reality. An illusion constructed by the mind.
This gets more at the heart of where I was going with this thread. Vision is not the only perception that we possess, but it is the perception out of which a rainbow appears to us as an object. Without vision, there would be no rainbows. We can only interact with them as visual objects. Hence, we cannot touch them or even approach them. Our own physical location and perspective are part of what causes them to come into existence. Nevertheless, they are not purely mental constructs (like gods and demons). We have an understanding of the physical conditions that are required for them to appear to us as objects.
What I think you and some others are missing is the fact that we have more than one sense. Vision is important, but so is touch, smell, taste, hearing, etc. All of those senses play a role in creating the objects that we interact with. Touch is an essential characteristic of tangible objects. Unlike rainbows, we can interact with rocks by touching and manipulating them, if we are physically located close enough to them. So, like rainbows, they are physical objects, but objects with different properties. Not all objects are tangible in the same sense that rocks are, just as not all tangible objects are physically the same. For example, we can touch liquid and gaseous objects, but we don't interact with them in the same way that we interact with solid objects. In fact, from a linguistic perspective, English speakers don't normally use the word "object" to describe liquids and gasses because of their different behaviors with respect to touch.
So all objects are illusions of one sort or another, but they are still physical. Rainbows are physical illusions, as well. Our mental models of reality are built on a foundation of such illusions. Rocks don't exist except in terms of how we interact with physical reality.
Now I'll address Lion's question about God. God is a being that has a great many human characteristics, but that being is alleged to have omniscience--absolute knowledge of reality. However, reality is just a vast collection of illusions that our bodies create through interactions with reality. If our senses were different, then we would have a very different set of things we "know" about reality, given that the reality of all things is anchored in perceptions. So how is "omniscience"--an absolute, immutable understanding of everything--even logically possible? There is no way to quantify reality in such a way that a fixed model of it makes any sense. Mental models of physical reality are always going to be relative to some combination of sensory experiences.