diff --git a/private.rules.inc b/private.rules.inc
index e69de29..87c60c7 100644
--- a/private.rules.inc
+++ b/private.rules.inc
@@ -0,0 +1,46 @@
+<?php
+
+/**
+ * @file
+ * Implements the Rules module API for Private.
+ */
+
+/**
+ * Implementation of hook_rules_action_info().
+ * @ingroup rules
+ */
+function private_rules_action_info() {
+  $items = array(
+    'private_action_node_mark_private' => array(
+      'label' => t('Mark the content as private'),
+      'arguments' => array(
+        'node' => array('type' => 'node', 'label' => t('Content')),
+      ),
+      'group' => t('Node'),
+    ),
+    'private_action_node_mark_public' => array(
+      'label' => t('Mark the content as public'),
+      'arguments' => array(
+        'node' => array('type' => 'node', 'label' => t('Content')),
+      ),
+      'group' => t('Node'),
+    ),
+  );
+  return $items;
+}
+
+/**
+ * Marks a node as private.
+ */
+function private_action_node_mark_private($node) {
+  $node->private = TRUE;
+  return array('node' => $node);
+}
+
+/**
+ * Marks a node as public.
+ */
+function private_action_node_mark_public($node) {
+  $node->private = FALSE;
+  return array('node' => $node);
+}
