Foundations of the Laws of War