Added Json object validation and dynamic rule loading from json