added unit tests to test Rule model

added rules-model
added rules-model to karma
added task unittests to grunt
updated report-model
fixed excel grammar for functions
load rules-model for tests