Fix xml rule output for priority and status.