Add custom rule type & unit tests.  Change version to 0.3.0.