trying to fix rules emr importer feature