It would be useful to optionally log all output to a file while also parsing rules for standard output.