The only way to repair rust is to cut and weld. You have to cut back far enough to find metal that is original thickness. Rust is like tree roots or cancer, with tentacles going everywhere. For some surface rust you can treat with a rust converter, and the apply an undercoat to seal out moisture.