Rules class added