last tidy to getRule