Vanilla is a product of Lussumo:
Documentation and Support.
I guess they did the rape story to really establish the defector as an evil guy who deserves what he's getting.It also establishes how deep Russell's character's loyalty goes: despite how horrifically she was treated during training she will not even for a second consider defection.