That was another one of his stupid proclamations. You can punish a rapist, but you can't stop rape because until a person rapes someone, they are not a rapist. Unless you are psychic and can tell that a person is going to rape someone and you punish them preemptively, you cannot stop rape.