You do what you can get away with in the square circle, it is the role of the referee to determine that. Mares took advantage of either an incompetent or crooked referee, the good news is that it is extremely unlikely that he wll ever officiate again.
"Low Blow" doesn't do him justice. Abner "**** Lover" Mares. No fighter is more obsessed with other guy's junk.