diff --git a/webform_validation.module b/webform_validation.module
index 15f3ceb..3d08bc2 100644
--- a/webform_validation.module
+++ b/webform_validation.module
@@ -302,6 +302,55 @@ function webform_validation_node_delete($node) {
 }
 
 /**
+ * Adds support for node_export module.
+ * Implements hook_node_export_node_alter().
+ */
+function webform_validation_node_export_node_alter(&$node, $original_node) {
+  // Add validation array for the exported node
+  if (isset($original_node->webform)) {
+
+    $node->webform['validation'] = array();
+
+    // Get all validation rules
+    $validation_rules = db_query("SELECT * FROM {webform_validation_rule} WHERE nid = :nid", array(':nid' => $node->nid));
+    $rules = new stdClass;
+    $rules->components = array();
+    foreach ($validation_rules as $rule) {
+      // Get all validation components
+      $validation_components = db_query("SELECT * FROM {webform_validation_rule_components} WHERE ruleid = :rid", array(':rid' => $rule->ruleid));
+      foreach ($validation_components as $component) {
+        $rule->components[] = $component;
+      }
+      // Append the validation rule to the validation array
+      $node->webform['validation'][] = $rule;
+    }
+  }
+}
+
+/**
+ * Implements hook_node_export_after_import_alter().
+ */
+function webform_validation_node_export_after_import_alter(&$nodes, $format, $save) {
+  foreach ($nodes as $node) {
+    // Insert validation rule and components during the node import
+    if (isset($node->webform)) {
+      if (!empty($node->webform['validation'])) {
+        foreach ($node->webform['validation'] as $rule ) {
+          unset($rule->ruleid);
+          $rule->nid = $node->nid;
+          // The $rule->nid will be updated after the node creation in the hook_nodeapi()
+          drupal_write_record('webform_validation_rule', $rule);
+
+          foreach ($rule->components as $component) {
+            db_query("INSERT INTO {webform_validation_rule_components} (ruleid, cid) VALUES (:rid, :cid)", array( ':rid' => $rule->ruleid, ':cid' => $component->cid));
+          }
+        }
+      }
+    }
+  }
+}
+
+/**
  * Adds support for node_clone module
  */
 function webform_validation_node_clone($node) {
