Added rule generation by command line