Interesting moral debate. It seems to be commonly taught to never lay a hand on a woman which is good in regards to the high rate of marital abuse and patriarchal structure of the past.
However, women have equal rights in much of the modern world. All this in mind, what code do you live by? If a lady were to hit you with intent to hurt you, would you do the same?