moved rulefactory.js from /lib/rules to /lib
changed paths to rulefactory. added travis config file