Add basis for extended rules (w/rewrites) for #1.
WIP: Rewrite rules.
Add test for logging of errors.
Add a default rule to make working simpler.

Fixes #1.
Update Version and Changelog.