What does the phrase 'all is fair in love and war' mean?

ALL'S FAIR IN LOVE AND WAR -- The rules of hard play are acceptable in war. In someones eyes 'all is fair in love and war" in other words,in a war between love and hate anything is acceptable or fair.