Modified RuleManager class to create Rule from UI. Changed code as per
coding Standard
Added Missing Files
Merge pull request #32 from Gauravkr/master

Implementation for Create rule and store in local DB and code refactoring