The rules of war, also known as international humanitarian law:
1. Protect those who are not fighting, such as civilians, medical personnel or aid workers.
2. Protect those who are no longer able to fight, like an injured soldier or a prisoner.
3. Prohibit targeting civilians. Doing so is a war crime.
4. Recognize the right of civilians to be protected from the dangers of war and receive the help they need. Every possible care must be taken to avoid harming them or their houses, or destroying their means of survival, such as water sources, crops, livestock, etc.
5. Mandate that the sick and wounded have a right to be cared for, regardless of whose side they are on.
6. Specify that medical workers, medical vehicles and hospitals dedicated to humanitarian work can not be attacked.
7. Prohibit torture and degrading treatment of prisoners.
8. Specify that detainees must receive food and water and be allowed to communicate with their loved ones.
9. Limit the weapons and tactics that can be used in war, to avoid unnecessary suffering.
10. Explicitly forbid rape or other forms of sexual violence in the context of armed conflict.