Add command-line option to list rules before warning/error output.

This is useful for integration with CI systems like Jenkins that can
work with JUnit style output.  This lets the CI system know how many
tests to expect.