adding getter/setter test for rule name