Fixed trigger_policy_save function to create XACML