Fixed the issue that dots in URL rules would match any character.