diff --git includes/rules.core.inc includes/rules.core.inc
index 4962f8b..fc77cce 100644
--- includes/rules.core.inc
+++ includes/rules.core.inc
@@ -1795,7 +1795,12 @@ abstract class RulesContainerPlugin extends RulesPlugin implements IteratorAggre
     if (isset($this->info['variables'])) {
       $export['USES VARIABLES'] = $this->info['variables'];
     }
-    $export += $this->exportChildren();
+    if ($settings_export = $this->exportSettings()) {
+      $export[strtoupper($this->plugin())] = $settings_export + $this->exportChildren();
+    }
+    else {
+      $export += $this->exportChildren();
+    }
     return $this->isRoot() ? $this->returnExport($export, $prefix, $php) : $export;
   }
 
@@ -1803,7 +1808,15 @@ abstract class RulesContainerPlugin extends RulesPlugin implements IteratorAggre
     if (isset($export['USES VARIABLES'])) {
       $this->info['variables'] = $export['USES VARIABLES'];
     }
-    $this->importChildren($export);
+    $key = strtoupper($this->plugin());
+    if (isset($export[$key]) && (isset($export[$key]['USING']) || isset($export[$key]['PROVIDE']))) {
+      $export = $export[$key];
+      $this->importSettings($export);
+      $this->importChildren($export);
+    }
+    else {
+      $this->importChildren($export);
+    }
   }
 
   protected function importChildren($export, $key = NULL) {
@@ -1931,7 +1944,6 @@ abstract class RulesConditionContainer extends RulesContainerPlugin implements R
     return $export;
   }
 
-
   protected function importChildren($export, $key = NULL) {
     $key = isset($key) ? $key : strtoupper($this->plugin());
     // Care for negated elements.
@@ -2150,6 +2162,10 @@ function _rules_import_get_plugin($key, $default = 'action') {
       }
     }
   }
+  // Cut of any leading NOT from the key.
+  if (strpos($key, 'NOT ') === 0) {
+    $key = substr($key, 4);
+  }
   if (isset($map[$key])) {
     return $map[$key];
   }
diff --git includes/rules.plugins.inc includes/rules.plugins.inc
index 4822cba..3237949 100644
--- includes/rules.plugins.inc
+++ includes/rules.plugins.inc
@@ -587,11 +587,11 @@ class RulesLoop extends RulesActionContainer {
     return !empty($this->label) ? $this->label : t('Loop');
   }
 
-  protected function exportChildren($key = 'LOOP OVER') {
+  protected function exportChildren($key = 'DO') {
     return parent::exportChildren($key);
   }
 
-  protected function importChildren($export, $key = 'LOOP OVER') {
+  protected function importChildren($export, $key = 'DO') {
     parent::importChildren($export, $key);
   }
 }
diff --git rules.module rules.module
index 652e559..37d66ab 100644
--- rules.module
+++ rules.module
@@ -489,7 +489,6 @@ function rules_rules_plugin_info() {
           'class' => 'RulesLoopUI',
         ),
       ),
-      'import keys' => array('LOOP OVER'),
     ),
     'reaction rule' => array(
       'class' => 'RulesReactionRule',
