<Yes, youre right, there is oxygen in water. It is there in 2 ways; 1) as a constituent of the water molecule, and 2) as a dissolved gas. The part that is a constituent it tightly bound to hydrogen and is not available to participate in rust unless chemical or biological forces intervene. The dissolved O2, and that present in the air in the tire are available, and are responsible for the rust. You can get air out of a tire by repeatedly purging with a benign gas such as nitrogen. The dissolved air in the water can be removed pretty much by heating. You can see this in the pre boiling behavior of water on your stove - - bubbles begin forming and escaping before the water boils. This release of dissolved gases precedes and continues up to the transition to a true boil, camouflaging the actual transition. As the temperature of the water rises to near the true boil point the escaping "impurity" gas bubbles effectively catalyze the boil at below 212. They do this by providing nucleation sites, a place for the liquid water to make its transition to gas phase. As the impurity gas depletes, the "boiling" water continues to get hotter because fewer nucleation sites are provided. When the impurity is sufficiently rarified that it no longer escapes, the water finally behaves as a pure liquid and boils at its true boiling point. You can see this with a good thermometer in a pot of water on your stove. When youve released all the impurity gases that you can (it wont be all) you will be able to reduce heat and hold the water quietly at 212 or maybe 213 - - no boil. Not much dissolved gas left in it, but to truly remove all, the water must be evacuated. I think heating and then cooling it with no air over it is enuf. After filling tire with it the absence of O2 is maintained by always using nitrogen to adjust pressure.
Larry>
So to prevent rim rust in water filled tires all I have to boil and cool the tire in a vacuume a couple times and fill it to proper pressure with nitrogen. Sorry, I think I'll use some rust preventitve fluid.