An Architecture for a Military AI System with Ethical Rules