Adding command-line support for writing files (and compressing them).
Always write matching_rules.