Original: Impersonating soldiers of the other side by wearing the enemy's uniform is allowed, though fighting in that uniform is unlawful perfidy, as is the taking of hostages.
Simplified: Anyone fighting in the war has to wear a uniform.