Adding rules for submenu