Can drones be taught the rules of war?