command line tool and down omg thru rule json file