Once you've sanded, scraped, etc. as well as you can to remove loose rust, Dupont MetalPrep (or similar, such as Jasco) etc can be used to prep the metal for primer and paint... This is an phosphoric acid which will convert light remaining rust to a different oxide which will accept paint.