some jsdoc
clean up rules list
set main script in package.json

so require() in node actually works :)