To be friends with a rapist is to help that person to stop raping. If the actions that you take have helped a rapist to stop raping, even if they were cruel or harsh, you have been more of a friend to that rapist than someone who has reinforced their behavior through inordinate kindness.