more mappings
change rules structure so that rules are atomic within select inserts