starting implmentaion of reading rules from json file