Brake pedal rod for master cylinder - which to use?

Here is a picture of the master I took off. I have not been able to remove the rod. That is why I was looking for a replacement. The bolted flange holds the piston assembly in the bore and does not hold the rod in place.
What is the best way to get this rod out of the bore? My next step is to destroy the piston assembly to get at the rod.

Master and pedal rod.jpg