Added guideline for adding rules.
Added test command for contributing.md.