Updated the rules library, the README file as well as the build and setEnv scripts