Rule.py -> PEP8, changed __repr__ so that the function name is used instead of __str__