adding children limit for url rewrite