Updated project to accept url rules
Changed references to url variable to path, because url was already declared globally