change to getRule