implementation of conway's general rules