fixes #41
Merge pull request #43 from 28msec/cellfire-d

rules ui refactoring + some fixes
Fix jshint errors
Minor improvements
Minor coderefactoring
Merge branch 'cellfire' of https://github.com/28msec/nolap-report-editor into cellfire-d