Build the policy command and related event handler