added jsdoc for all new rulesengine items
full commenting, added tests for functionality to date