Add --rules option to specify custom ruleset file
Functional tests using the command line interface