Update the router rule.