fix up select rules