diff --git includes/rules.plugins.inc includes/rules.plugins.inc
index 044c155..14e7f9a 100644
--- includes/rules.plugins.inc
+++ includes/rules.plugins.inc
@@ -569,6 +569,10 @@ class RulesLoop extends RulesActionContainer {
       $state2 = clone $state;
       $state2->addVariable($item_var_name, $list[$key], $item_var_info);
       parent::evaluate($state2);
+      $parent_vars = array_intersect(array_keys($state->variables), array_keys($state2->variables));
+      foreach($parent_vars as $var_key) {
+        $state->variables[$var_key] = $state2->variables[$var_key];
+      }
     }
   }
 
