Expanding foam to cover rust?? Now that I'd like to see.
For the surface rust on the fender and the inner door lip, sand it down (grind wheel, or wire wheel), prime, paint, clear. For the fender, you could paint the whole thing to blend it better. Just depends if it's a daily driver, or something you want to look good.