Samurai rules for war and peace