make the python module directly responsible for rules.yaml, #44