Rules class almost ready