Those rails support the floorpan.
You can run them down to the back if you want to.
You can buy replacment rails with floorpans or, or take a sample to a steel fabrication/ sheetmetal business and have some fabricated.
It is less expensive to have some fabricated.
I just made a list