Terrorism and the rule of law