Exactly what rule did this violate?

It is specifically against the rules to claim that one’s opponent derives some sort of sexual gratification/whatever from their positions. Claiming something works on someone like viagra certainly fills that space.