Minor updates to setup and removed legacy renaming
Error handling improved in case where rules don't compile
added path option