There are no absolute rules of conduct either in peace or war. Everything depends on circumstances.
The one phrase you can use is that success has a thousand fathers and...