Painting rusty metal
There are rusty metal primers available that will keep the rust from being any kind of problem. It is available in spray and brush on. Typically you will need to wire brush off any loose rust/material and paint it with that primer. After it dries the recommended time, it can be painted over with your color matched finish paint.