JSDoc for rules

  * Fixing project documentation inconsistency for rules
  * Added JSDoc for load-rules.js and rules.js
Merge pull request #736 from anton-rudeshko/rules-jsdoc

JSDoc for rules