Once you have the Nails / Screws out,
Hold the rail ( I start from the front )with some pressure pulling out and up at the same time while heating up rail with a hair dryer , You can get them quite hot without damaging anything as long as you apply the heat directly on the rail , I have taken many off all types of pinball's without even bending them using this method.
A heat gun will also work but you need to be very careful as the heat from these is very intense and can damage art work on the cab , not to mention burn your hands real easy:)
Remember if you are any good with metal work , you can make many ramp protectors and Stainless parts from a single old rail.