processRules is a public function to allow loading of json rules besides init