I think you lost track of what I was responding to.
You:
In the ten commandments, i haven't seen any references to the fact you can kill someone if its war..
Or if he is a murderer...
Or if he is trying to kill you..
Or whatever reasons we humans find...
Me:
Why is the 10 commandments the standard?
You:
So what is the standard?
Me:
All of it.
The standard for determining the Law is the entire Torah, not just 10 out of the hundreds of commandments. The entire Torah makes provisions for capital punishment, killing during war, in self-defense, etc. besides for its general command to not murder.