removed unnecessary dependencies
bugfix for overwriting rules.xml, added docstrings