Started changes to load rules from config file