ErrrrrK
Now, I know you don't want to hear this but, those rails are pretty sad.
Passenger side: -
If there are holes on the top edge you can imagine what the inside and bottom surface must be like.
From the condition of the battery tray and area, it looks like acid has corroded the wheel well and rail.
Not at all unusual but very time consuming to fix the tray and surrounding area satisfactorily.
I would advise a new/replacement rail.
Drivers side: -
You may get away with cutting out the suspect areas and patching with new metal, but hard to tell the integrity of the rail without some poking , prodding and surgery with an angle grinder.
The full extent of the damage is a "known unknown".
These areas are a major structural part of the uni-body and you can't take a risk here.
If it were my car, I would indeed unpick the two rails and replace with new metal.
Fortunately, the rear rail is a separate section and may not be corroded.
The replacement can be slotted inside the rear section then welded in.
You may notice that I had to remove a trashed spare wheel well and replace it with a used one.
Another big job BUT, it is only metal and therefore it can be repaired
Normally a professional restorer would use a spot welder to fasten the replacements but yours truly only has Oxy/Acet so I do plug welds instead
They don't make these cars anymore so if you are going to restore it, do it properly and you'll be much happier in the end.
You have to decide whether it is worthwhile or not.
I tried looking for rust repair sections on some of the Z car sites in the U.S but I couldn't find any that did the chassis rails.
So I guess that is the bottom line, they will have to be manufactured.
I can use my car as a pattern and a friend of a friend might be able to fold them up
He used his roller to make up some replacement sill panels for my '65 Fairlady restoration.
Trust me, you haven't seen rustouts until you see my Fairlady
Anyhoo, let me know what you want to do and I'll make some inquiries for you