added rule for json file