Split rules on main and inner