added rule attribute to Router