Detaining Combatants by Law or by Order? The Rule of Lawmaking