INFRA-171: adding rewrites to directory scope