refactored rules path to distribute it in pypi