Added Configuration for rules and adding rules to view and a config file part2