A photo or two would help to determine its repairability.

Even if it's not repairable, I don't see why a replacement would be difficult. If it's built like my 7x17 Korona, I could have a rail done in a couple of hours at most.