Inner rust

I had some rust behind the door. I cut it out but the inner structure is damaged. Any advice on this? I was thinking of welding an 18 gauge plate to help reinforce it but I’m not sure if that will give me room to put on my patch panel. What is this area called, frame? Or inner rocker?

IMG_2535.jpeg

IMG_2534.jpeg