updated rules.js version, var names, and comments