refactoring + feature: default rule. closes #10