Well put the cops and prosecutors in jail - they are the reason the perps go free.
I expect a significant number of people would characterize what the police did as bending the rules a little to catch a rapist on the loose. Many -- including me! aren't going to agree with that, but it is a legitimate point of view, and it does explain why police are very rarely sanctioned for actions like this.
If there is one thing more dangerous than criminals then it is authorities operating without any checks on their power.
So if you want criminals to be punished for their deeds you should be very much against police bending the rules to catch them.
The point of putting people in prison isn't supposed to be to help the victim, either. The victim is kind of irrelevant.