Update with testing framework for rules positioning and update to insert_order to honor rules without a table set