add ruleId and improve output

closes #3
0.2.0