first implementation, not works yet - must specify library
working CLI
specify threads from options
specify threads from options
some cleanup, more configuration
minor
more convenient rule display
minor cleanup