worked on hw6
need to make sets into dicts
need to associate supported sets with rules