I see rape as an extremely serious attack, regardless of who attacks whom.
That in mind, if killing the attacker is the only guaranteed way of escaping, I have no problem with deadly force.
I was once seriously sexually assaulted by a man in a bar's toilet - I kicked the ******* shit out of the bastard.
He grabbed my cock and went for a suck but got a knee under the chin, a serious tenderising of his face and a kick in the goolies he will never forget.
I was told I'm homophobic, but that's untrue, I'm rapistbastardaphobic.
As for punishment for rapists - I'm really right wing on this issue - public flogging in the town square on a Saturday morning. They can join the wife beaters.