Fix positioning of menu rules