anti-rust

Forum: 

I own a Daihatsu Terios. Could I remove the rubber that is in the place of the rails for the roofrack (I don't have a roofrack so there's just rubber) in order to apply anti-rust protection and then place the rubber back in place? If yes how should I remove the rubber and then fix it again in its place?