Adding the source code, with sample test case
Updated the readme with info on dependencies and how to configure the rule