Minor cleanup to panes rules