Commitments with Regulations: Reasoning about Safety and Control in REGULA