Add namespace and name to url rules