Fixed logging so that all commands now write log messages to logs/<cmd>rules.log.
Merge pull request #37 from salspaugh/logging

Fixed command logging.