Initial pass at a rules model.