rules-plan event handlers