Fixed Rules class

Not much different