prepare and update rules for import/export into tb3