Fix situation when url is not found in the rules