What the rules of war say about Israel's attacks in Gaza