work in progress on rules