diff --git a/activity_log.rules_defaults.inc b/activity_log.rules_defaults.inc
index a2e54c7..07ea122 100644
--- a/activity_log.rules_defaults.inc
+++ b/activity_log.rules_defaults.inc
@@ -594,1996 +594,557 @@ function activity_log_rules_defaults_node_insert() {
  * Node creation in a group
  */
 function activity_log_rules_defaults_node_insert_og() {
-  return array(
-    'rules_activity_log_node_insert_og' => 
-    array (
-      '#type' => 'rule',
-      '#set' => 'event_node_insert',
-      '#label' => 'Log activity when a node is created in a group',
-      '#active' => 1,
-      '#weight' => '0',
-      '#categories' => 
-      array (
-        0 => 'activity_log',
-        1 => 'node',
-        2 => 'og',
-      ),
-      '#status' => 'default',
-      '#conditions' => 
+    return array (
+      'rules_activity_log_node_insert_og' => 
       array (
-        0 => 
+        '#type' => 'rule',
+        '#set' => 'event_node_insert',
+        '#label' => 'Log activity when a node is created in a group',
+        '#active' => 1,
+        '#weight' => '0',
+        '#categories' => 
         array (
-          '#weight' => 0,
-          '#info' => 
+          0 => 'activity_log',
+          1 => 'node',
+          2 => 'og',
+        ),
+        '#status' => 'default',
+        '#conditions' => 
+        array (
+          0 => 
           array (
-            'label' => 'Updated content is published',
-            'arguments' => 
+            '#type' => 'condition',
+            '#settings' => 
             array (
-              'node' => 
+              '#argument map' => 
               array (
-                'type' => 'node',
-                'label' => 'Content',
+                'node' => 'node',
               ),
             ),
-            'module' => 'Node',
-          ),
-          '#name' => 'rules_condition_content_is_published',
-          '#settings' => 
-          array (
-            '#argument map' => 
+            '#name' => 'rules_condition_content_is_published',
+            '#info' => 
             array (
-              'node' => 'node',
+              'label' => 'Updated content is published',
+              'arguments' => 
+              array (
+                'node' => 
+                array (
+                  'type' => 'node',
+                  'label' => 'Content',
+                ),
+              ),
+              'module' => 'Node',
             ),
+            '#weight' => 0,
           ),
-          '#type' => 'condition',
-        ),
-        1 => 
-        array (
-          '#type' => 'condition',
-          '#settings' => 
+          1 => 
           array (
-            '#argument map' => 
+            '#weight' => 0,
+            '#info' => 
             array (
-              'group' => 'node',
+              'label' => 'Content was posted in a group',
+              'arguments' => 
+              array (
+                'node' => 
+                array (
+                  'type' => 'node',
+                  'label' => 'Group content',
+                ),
+              ),
+              'module' => 'Organic groups',
             ),
-          ),
-          '#name' => 'og_rules_condition_posted_in_group',
-          '#info' => 
-          array (
-            'label' => 'Content was posted in a group',
-            'arguments' => 
+            '#name' => 'og_rules_condition_posted_in_group',
+            '#settings' => 
             array (
-              'node' => 
+              '#argument map' => 
               array (
-                'type' => 'node',
-                'label' => 'Group content',
+                'group' => 'node',
               ),
             ),
-            'module' => 'Organic groups',
+            '#type' => 'condition',
           ),
-          '#weight' => 0,
         ),
-      ),
-      '#actions' => 
-      array (
-        0 => 
+        '#actions' => 
         array (
-          '#weight' => 0,
-          '#info' => 
-          array (
-            'label' => 'Log activity for the acting user',
-            'label callback' => false,
-            'module' => 'Activity Log',
-            'eval input' => 
-            array (
-              0 => 'placeholder',
-              1 => 'grouping|group_summary',
-              2 => 'visibility|stream_owner_id',
-              3 => 'visibility|viewer_id',
-              4 => 'acting_uid',
-              5 => 'templates|und|template',
-              6 => 'grouping|templates|und|template',
-            ),
-          ),
-          '#name' => 'activity_log_log_action',
-          '#settings' => 
+          1 => 
           array (
-            'placeholder' => '#!ACTIVITY_LOG_DELIMITER:',
-            'public_name' => '',
-            'templates' => 
-            array (
-              'en' => 
-              array (
-                'template' => '<div class="activity-log-picture">[author:picture]</div><div class="activity-log-indent"><div class="activity-log-content"><a href="[author:account-url]">[author:user]</a> added the [node:type-name] <a href="[node:node-url]">[node:title]</a> in <a href="[node:og-url]">[node:ogname]</a></div>
-<div class="activity-log-time"><a href="[node:node-url]">[node:small]</a></div></div>',
-              ),
-              'und' => 
-              array (
-                'template' => '<div class="activity-log-picture">[author:picture]</div><div class="activity-log-indent"><div class="activity-log-content"><a href="[author:account-url]">[author:user]</a> added the [node:type-name] <a href="[node:node-url]">[node:title]</a> in <a href="[node:og-url]">[node:ogname]</a></div>
-<div class="activity-log-time"><a href="[node:node-url]">[node:small]</a></div></div>',
-              ),
-            ),
-            'grouping' => 
+            '#weight' => 0,
+            '#type' => 'action',
+            '#settings' => 
             array (
-              'group_method' => 'none',
-              'group_interval' => '86400',
-              'group_max' => '100',
-              'group_summary' => '',
-              'collapse_method' => 'activity_log_collapse_inline',
+              'placeholder' => '#!ACTIVITY_LOG_DELIMITER:',
+              'public_name' => '',
               'templates' => 
               array (
                 'en' => 
                 array (
-                  'template' => '',
+                  'template' => '<div class="activity-log-picture">[author:picture]</div><div class="activity-log-indent"><div class="activity-log-content"><a href="[author:account-url]">[author:user]</a> added the [node:type-name] <a href="[node:node-url]">[node:title]</a></div>
+    <div class="activity-log-time"><a href="[node:node-url]">[node:small]</a></div></div>',
                 ),
                 'und' => 
                 array (
-                  'template' => '',
-                ),
+                  'template' => '<div class="activity-log-picture">[author:picture]</div><div class="activity-log-indent"><div class="activity-log-content"><a href="[author:account-url]">[author:user]</a> added the [node:type-name] <a href="[node:node-url]">[node:title]</a></div>
+    <div class="activity-log-time"><a href="[node:node-url]">[node:small]</a></div></div>',
+                ),
+              ),
+              'grouping' => 
+              array (
+                'group_method' => 'none',
+                'group_interval' => '86400',
+                'group_max' => '100',
+                'group_summary' => '',
+                'collapse_method' => 'activity_log_collapse_inline',
+                'templates' => 
+                array (
+                  'en' => 
+                  array (
+                    'template' => '',
+                  ),
+                  'und' => 
+                  array (
+                    'template' => '',
+                  ),
+                ),
+              ),
+              'visibility' => 
+              array (
+                'stream_owner_entity_group' => 
+                array (
+                  'active group' => 'active group',
+                  'custom' => 0,
+                  'acting user' => 0,
+                  'target entity' => 0,
+                  'active group members' => 0,
+                  'active group admin' => 0,
+                  'acting user relationships' => 0,
+                  'custom user relationships' => 0,
+                  'acting user relationships 1' => 0,
+                  'custom user relationships 1' => 0,
+                  'active group relationships acting user' => 0,
+                  'active group relationships custom user' => 0,
+                  'active group relationships 1 acting user' => 0,
+                  'active group relationships 1 custom user' => 0,
+                  'node terms' => 0,
+                ),
+                'stream_owner_id' => '',
+                'stream_owner_type' => 'user',
+                'viewer_entity_group' => 
+                array (
+                  'everyone' => 'everyone',
+                  'everyone_except_active' => 0,
+                  'everyone_except_custom' => 0,
+                  'custom' => 0,
+                  'acting user' => 0,
+                  'target entity' => 0,
+                  'stream_owner' => 0,
+                  'not_stream_owner' => 0,
+                  'active group members' => 0,
+                  'active group admin' => 0,
+                  'acting user relationships' => 0,
+                  'custom user relationships' => 0,
+                  'acting user relationships 1' => 0,
+                  'custom user relationships 1' => 0,
+                  'active group relationships acting user' => 0,
+                  'active group relationships custom user' => 0,
+                  'active group relationships 1 acting user' => 0,
+                  'active group relationships 1 custom user' => 0,
+                ),
+                'viewer_id' => '',
+              ),
+              'cache' => 
+              array (
+                'cache' => 1,
+                'resources' => '',
+              ),
+              'acting_uid' => '',
+              'display_type' => 'web',
+              'tid' => '5',
+              '#eval input' => 
+              array (
+                'token_rules_input_evaluator' => 
+                array (
+                  'placeholder' => 
+                  array (
+                    0 => ':global',
+                  ),
+                  'grouping|group_summary' => 
+                  array (
+                    0 => ':global',
+                  ),
+                  'visibility|stream_owner_id' => 
+                  array (
+                    0 => ':global',
+                  ),
+                  'visibility|viewer_id' => 
+                  array (
+                    0 => ':global',
+                  ),
+                  'acting_uid' => 
+                  array (
+                    0 => ':global',
+                  ),
+                  'templates|und|template' => 
+                  array (
+                    0 => 'node',
+                    1 => 'author',
+                    2 => ':global',
+                  ),
+                  'grouping|templates|und|template' => 
+                  array (
+                    0 => ':global',
+                  ),
+                ),
+                'activity_log_input_evaluator_process' => 
+                array (
+                  'placeholder' => true,
+                  'grouping|group_summary' => true,
+                  'visibility|stream_owner_id' => true,
+                  'visibility|viewer_id' => true,
+                  'acting_uid' => true,
+                  'templates|und|template' => true,
+                  'grouping|templates|und|template' => true,
+                ),
+              ),
+            ),
+            '#name' => 'activity_log_log_action',
+            '#info' => 
+            array (
+              'label' => 'Log activity for active group',
+              'label callback' => false,
+              'module' => 'Activity Log',
+              'eval input' => 
+              array (
+                0 => 'placeholder',
+                1 => 'grouping|group_summary',
+                2 => 'visibility|stream_owner_id',
+                3 => 'visibility|viewer_id',
+                4 => 'acting_uid',
+                5 => 'templates|und|template',
+                6 => 'grouping|templates|und|template',
               ),
             ),
-            'visibility' => 
+          ),
+          2 => 
+          array (
+            '#info' => 
             array (
-              'stream_owner_entity_group' => 
-              array (
-                'acting user' => 'acting user',
-                'custom' => 0,
-                'target entity' => 0,
-                'active group' => 0,
-                'active group members' => 0,
-                'active group admin' => 0,
-                'acting user relationships' => 0,
-                'custom user relationships' => 0,
-                'acting user relationships 1' => 0,
-                'custom user relationships 1' => 0,
-                'active group relationships acting user' => 0,
-                'active group relationships custom user' => 0,
-                'active group relationships 1 acting user' => 0,
-                'active group relationships 1 custom user' => 0,
-                'node terms' => 0,
-              ),
-              'stream_owner_id' => '',
-              'stream_owner_type' => 'user',
-              'viewer_entity_group' => 
+              'label' => 'Log activity for members of the active group',
+              'label callback' => false,
+              'module' => 'Activity Log',
+              'eval input' => 
               array (
-                'everyone' => 'everyone',
-                'everyone_except_active' => 0,
-                'everyone_except_custom' => 0,
-                'custom' => 0,
-                'acting user' => 0,
-                'target entity' => 0,
-                'stream_owner' => 0,
-                'not_stream_owner' => 0,
-                'active group members' => 0,
-                'active group admin' => 0,
-                'acting user relationships' => 0,
-                'custom user relationships' => 0,
-                'acting user relationships 1' => 0,
-                'custom user relationships 1' => 0,
-                'active group relationships acting user' => 0,
-                'active group relationships custom user' => 0,
-                'active group relationships 1 acting user' => 0,
-                'active group relationships 1 custom user' => 0,
+                0 => 'placeholder',
+                1 => 'grouping|group_summary',
+                2 => 'visibility|stream_owner_id',
+                3 => 'visibility|viewer_id',
+                4 => 'acting_uid',
+                5 => 'templates|und|template',
+                6 => 'grouping|templates|und|template',
               ),
-              'viewer_id' => '',
-            ),
-            'cache' => 
-            array (
-              'cache' => 1,
-              'resources' => '',
             ),
-            'acting_uid' => '[author:uid]',
-            'display_type' => 'web',
-            'tid' => '4',
-            '#eval input' => 
+            '#name' => 'activity_log_log_action',
+            '#settings' => 
             array (
-              'token_rules_input_evaluator' => 
+              'placeholder' => '#!ACTIVITY_LOG_DELIMITER:',
+              'public_name' => '',
+              'templates' => 
               array (
-                'placeholder' => 
-                array (
-                  0 => ':global',
-                ),
-                'grouping|group_summary' => 
-                array (
-                  0 => ':global',
-                ),
-                'visibility|stream_owner_id' => 
-                array (
-                  0 => ':global',
-                ),
-                'visibility|viewer_id' => 
-                array (
-                  0 => ':global',
-                ),
-                'acting_uid' => 
-                array (
-                  0 => 'author',
-                  1 => ':global',
-                ),
-                'templates|und|template' => 
+                'en' => 
                 array (
-                  0 => 'node',
-                  1 => 'author',
-                  2 => ':global',
+                  'template' => '<div class="activity-log-picture">[author:picture]</div><div class="activity-log-indent"><div class="activity-log-content"><a href="[author:account-url]">[author:user]</a> added the [node:type-name] <a href="[node:node-url]">[node:title]</a> in <a href="[node:og-url]">[node:ogname]</a></div>
+    <div class="activity-log-time"><a href="[node:node-url]">[node:small]</a></div></div>',
                 ),
-                'grouping|templates|und|template' => 
+                'und' => 
                 array (
-                  0 => ':global',
-                ),
-              ),
-              'activity_log_input_evaluator_process' => 
-              array (
-                'placeholder' => true,
-                'grouping|group_summary' => true,
-                'visibility|stream_owner_id' => true,
-                'visibility|viewer_id' => true,
-                'acting_uid' => true,
-                'templates|und|template' => true,
-                'grouping|templates|und|template' => true,
-              ),
-            ),
+                  'template' => '<div class="activity-log-picture">[author:picture]</div><div class="activity-log-indent"><div class="activity-log-content"><a href="[author:account-url]">[author:user]</a> added the [node:type-name] <a href="[node:node-url]">[node:title]</a> in <a href="[node:og-url]">[node:ogname]</a></div>
+    <div class="activity-log-time"><a href="[node:node-url]">[node:small]</a></div></div>',
+                ),
+              ),
+              'grouping' => 
+              array (
+                'group_method' => 'none',
+                'group_interval' => '86400',
+                'group_max' => '100',
+                'group_summary' => '',
+                'collapse_method' => 'activity_log_collapse_inline',
+                'templates' => 
+                array (
+                  'en' => 
+                  array (
+                    'template' => '',
+                  ),
+                  'und' => 
+                  array (
+                    'template' => '',
+                  ),
+                ),
+              ),
+              'visibility' => 
+              array (
+                'stream_owner_entity_group' => 
+                array (
+                  'active group members' => 'active group members',
+                  'custom' => 0,
+                  'acting user' => 0,
+                  'target entity' => 0,
+                  'active group' => 0,
+                  'active group admin' => 0,
+                  'acting user relationships' => 0,
+                  'custom user relationships' => 0,
+                  'acting user relationships 1' => 0,
+                  'custom user relationships 1' => 0,
+                  'active group relationships acting user' => 0,
+                  'active group relationships custom user' => 0,
+                  'active group relationships 1 acting user' => 0,
+                  'active group relationships 1 custom user' => 0,
+                  'node terms' => 0,
+                ),
+                'stream_owner_id' => '',
+                'stream_owner_type' => 'user',
+                'viewer_entity_group' => 
+                array (
+                  'stream_owner' => 'stream_owner',
+                  'everyone' => 0,
+                  'everyone_except_active' => 0,
+                  'everyone_except_custom' => 0,
+                  'custom' => 0,
+                  'acting user' => 0,
+                  'target entity' => 0,
+                  'not_stream_owner' => 0,
+                  'active group members' => 0,
+                  'active group admin' => 0,
+                  'acting user relationships' => 0,
+                  'custom user relationships' => 0,
+                  'acting user relationships 1' => 0,
+                  'custom user relationships 1' => 0,
+                  'active group relationships acting user' => 0,
+                  'active group relationships custom user' => 0,
+                  'active group relationships 1 acting user' => 0,
+                  'active group relationships 1 custom user' => 0,
+                ),
+                'viewer_id' => '',
+              ),
+              'cache' => 
+              array (
+                'cache' => 1,
+                'resources' => '',
+              ),
+              'acting_uid' => '',
+              'display_type' => 'web',
+              'tid' => '6',
+              '#eval input' => 
+              array (
+                'token_rules_input_evaluator' => 
+                array (
+                  'placeholder' => 
+                  array (
+                    0 => ':global',
+                  ),
+                  'grouping|group_summary' => 
+                  array (
+                    0 => ':global',
+                  ),
+                  'visibility|stream_owner_id' => 
+                  array (
+                    0 => ':global',
+                  ),
+                  'visibility|viewer_id' => 
+                  array (
+                    0 => ':global',
+                  ),
+                  'acting_uid' => 
+                  array (
+                    0 => ':global',
+                  ),
+                  'templates|und|template' => 
+                  array (
+                    0 => 'node',
+                    1 => 'author',
+                    2 => ':global',
+                  ),
+                  'grouping|templates|und|template' => 
+                  array (
+                    0 => ':global',
+                  ),
+                ),
+                'activity_log_input_evaluator_process' => 
+                array (
+                  'placeholder' => true,
+                  'grouping|group_summary' => true,
+                  'visibility|stream_owner_id' => true,
+                  'visibility|viewer_id' => true,
+                  'acting_uid' => true,
+                  'templates|und|template' => true,
+                  'grouping|templates|und|template' => true,
+                ),
+              ),
+            ),
+            '#type' => 'action',
+            '#weight' => 0,
           ),
-          '#type' => 'action',
-        ),
-        1 => 
-        array (
-          '#info' => 
-          array (
-            'label' => 'Log activity for active group',
-            'label callback' => false,
-            'module' => 'Activity Log',
-            'eval input' => 
-            array (
-              0 => 'placeholder',
-              1 => 'grouping|group_summary',
-              2 => 'visibility|stream_owner_id',
-              3 => 'visibility|viewer_id',
-              4 => 'acting_uid',
-              5 => 'templates|und|template',
-              6 => 'grouping|templates|und|template',
-            ),
-          ),
-          '#name' => 'activity_log_log_action',
-          '#settings' => 
+          3 => 
           array (
-            'placeholder' => '#!ACTIVITY_LOG_DELIMITER:',
-            'public_name' => '',
-            'templates' => 
-            array (
-              'en' => 
-              array (
-                'template' => '<div class="activity-log-picture">[author:picture]</div><div class="activity-log-indent"><div class="activity-log-content"><a href="[author:account-url]">[author:user]</a> added the [node:type-name] <a href="[node:node-url]">[node:title]</a></div>
-<div class="activity-log-time"><a href="[node:node-url]">[node:small]</a></div></div>',
-              ),
-              'und' => 
-              array (
-                'template' => '<div class="activity-log-picture">[author:picture]</div><div class="activity-log-indent"><div class="activity-log-content"><a href="[author:account-url]">[author:user]</a> added the [node:type-name] <a href="[node:node-url]">[node:title]</a></div>
-<div class="activity-log-time"><a href="[node:node-url]">[node:small]</a></div></div>',
-              ),
-            ),
-            'grouping' => 
+            '#weight' => 0,
+            '#type' => 'action',
+            '#settings' => 
             array (
-              'group_method' => 'none',
-              'group_interval' => '86400',
-              'group_max' => '100',
-              'group_summary' => '',
-              'collapse_method' => 'activity_log_collapse_inline',
+              'placeholder' => '#!ACTIVITY_LOG_DELIMITER:',
+              'public_name' => '',
               'templates' => 
               array (
                 'en' => 
                 array (
-                  'template' => '',
+                  'template' => '<div class="activity-log-picture">[author:picture]</div><div class="activity-log-indent"><div class="activity-log-content"><a href="[author:account-url]">[author:user]</a> added the [node:type-name] <a href="[node:node-url]">[node:title]</a> in <a href="[node:og-url]">[node:ogname]</a></div>
+    <div class="activity-log-time"><a href="[node:node-url]">[node:small]</a></div></div>',
                 ),
                 'und' => 
                 array (
-                  'template' => '',
-                ),
-              ),
-            ),
-            'visibility' => 
-            array (
-              'stream_owner_entity_group' => 
-              array (
-                'active group' => 'active group',
-                'custom' => 0,
-                'acting user' => 0,
-                'target entity' => 0,
-                'active group members' => 0,
-                'active group admin' => 0,
-                'acting user relationships' => 0,
-                'custom user relationships' => 0,
-                'acting user relationships 1' => 0,
-                'custom user relationships 1' => 0,
-                'active group relationships acting user' => 0,
-                'active group relationships custom user' => 0,
-                'active group relationships 1 acting user' => 0,
-                'active group relationships 1 custom user' => 0,
-                'node terms' => 0,
-              ),
-              'stream_owner_id' => '',
-              'stream_owner_type' => 'user',
-              'viewer_entity_group' => 
-              array (
-                'everyone' => 'everyone',
-                'everyone_except_active' => 0,
-                'everyone_except_custom' => 0,
-                'custom' => 0,
-                'acting user' => 0,
-                'target entity' => 0,
-                'stream_owner' => 0,
-                'not_stream_owner' => 0,
-                'active group members' => 0,
-                'active group admin' => 0,
-                'acting user relationships' => 0,
-                'custom user relationships' => 0,
-                'acting user relationships 1' => 0,
-                'custom user relationships 1' => 0,
-                'active group relationships acting user' => 0,
-                'active group relationships custom user' => 0,
-                'active group relationships 1 acting user' => 0,
-                'active group relationships 1 custom user' => 0,
-              ),
-              'viewer_id' => '',
-            ),
-            'cache' => 
-            array (
-              'cache' => 1,
-              'resources' => '',
-            ),
-            'acting_uid' => '',
-            'display_type' => 'web',
-            'tid' => '5',
-            '#eval input' => 
-            array (
-              'token_rules_input_evaluator' => 
-              array (
-                'placeholder' => 
-                array (
-                  0 => ':global',
-                ),
-                'grouping|group_summary' => 
-                array (
-                  0 => ':global',
-                ),
-                'visibility|stream_owner_id' => 
-                array (
-                  0 => ':global',
-                ),
-                'visibility|viewer_id' => 
-                array (
-                  0 => ':global',
-                ),
-                'acting_uid' => 
-                array (
-                  0 => ':global',
-                ),
-                'templates|und|template' => 
-                array (
-                  0 => 'node',
-                  1 => 'author',
-                  2 => ':global',
-                ),
-                'grouping|templates|und|template' => 
-                array (
-                  0 => ':global',
-                ),
-              ),
-              'activity_log_input_evaluator_process' => 
-              array (
-                'placeholder' => true,
-                'grouping|group_summary' => true,
-                'visibility|stream_owner_id' => true,
-                'visibility|viewer_id' => true,
-                'acting_uid' => true,
-                'templates|und|template' => true,
-                'grouping|templates|und|template' => true,
-              ),
-            ),
-          ),
-          '#type' => 'action',
-          '#weight' => 0,
-        ),
-        2 => 
-        array (
-          '#weight' => 0,
-          '#type' => 'action',
-          '#settings' => 
-          array (
-            'placeholder' => '#!ACTIVITY_LOG_DELIMITER:',
-            'public_name' => '',
-            'templates' => 
-            array (
-              'en' => 
-              array (
-                'template' => '<div class="activity-log-picture">[author:picture]</div><div class="activity-log-indent"><div class="activity-log-content"><a href="[author:account-url]">[author:user]</a> added the [node:type-name] <a href="[node:node-url]">[node:title]</a> in <a href="[node:og-url]">[node:ogname]</a></div>
-<div class="activity-log-time"><a href="[node:node-url]">[node:small]</a></div></div>',
-              ),
-              'und' => 
-              array (
-                'template' => '<div class="activity-log-picture">[author:picture]</div><div class="activity-log-indent"><div class="activity-log-content"><a href="[author:account-url]">[author:user]</a> added the [node:type-name] <a href="[node:node-url]">[node:title]</a> in <a href="[node:og-url]">[node:ogname]</a></div>
-<div class="activity-log-time"><a href="[node:node-url]">[node:small]</a></div></div>',
-              ),
-            ),
-            'grouping' => 
-            array (
-              'group_method' => 'none',
-              'group_interval' => '86400',
-              'group_max' => '100',
-              'group_summary' => '',
-              'collapse_method' => 'activity_log_collapse_inline',
-              'templates' => 
-              array (
-                'en' => 
-                array (
-                  'template' => '',
-                ),
-                'und' => 
-                array (
-                  'template' => '',
-                ),
-              ),
-            ),
-            'visibility' => 
-            array (
-              'stream_owner_entity_group' => 
-              array (
-                'active group members' => 'active group members',
-                'custom' => 0,
-                'acting user' => 0,
-                'target entity' => 0,
-                'active group' => 0,
-                'active group admin' => 0,
-                'acting user relationships' => 0,
-                'custom user relationships' => 0,
-                'acting user relationships 1' => 0,
-                'custom user relationships 1' => 0,
-                'active group relationships acting user' => 0,
-                'active group relationships custom user' => 0,
-                'active group relationships 1 acting user' => 0,
-                'active group relationships 1 custom user' => 0,
-                'node terms' => 0,
-              ),
-              'stream_owner_id' => '',
-              'stream_owner_type' => 'user',
-              'viewer_entity_group' => 
-              array (
-                'stream_owner' => 'stream_owner',
-                'everyone' => 0,
-                'everyone_except_active' => 0,
-                'everyone_except_custom' => 0,
-                'custom' => 0,
-                'acting user' => 0,
-                'target entity' => 0,
-                'not_stream_owner' => 0,
-                'active group members' => 0,
-                'active group admin' => 0,
-                'acting user relationships' => 0,
-                'custom user relationships' => 0,
-                'acting user relationships 1' => 0,
-                'custom user relationships 1' => 0,
-                'active group relationships acting user' => 0,
-                'active group relationships custom user' => 0,
-                'active group relationships 1 acting user' => 0,
-                'active group relationships 1 custom user' => 0,
-              ),
-              'viewer_id' => '',
-            ),
-            'cache' => 
-            array (
-              'cache' => 1,
-              'resources' => '',
-            ),
-            'acting_uid' => '',
-            'display_type' => 'web',
-            'tid' => '6',
-            '#eval input' => 
-            array (
-              'token_rules_input_evaluator' => 
-              array (
-                'placeholder' => 
-                array (
-                  0 => ':global',
-                ),
-                'grouping|group_summary' => 
-                array (
-                  0 => ':global',
-                ),
-                'visibility|stream_owner_id' => 
-                array (
-                  0 => ':global',
-                ),
-                'visibility|viewer_id' => 
-                array (
-                  0 => ':global',
-                ),
-                'acting_uid' => 
-                array (
-                  0 => ':global',
-                ),
-                'templates|und|template' => 
-                array (
-                  0 => 'node',
-                  1 => 'author',
-                  2 => ':global',
-                ),
-                'grouping|templates|und|template' => 
-                array (
-                  0 => ':global',
-                ),
-              ),
-              'activity_log_input_evaluator_process' => 
-              array (
-                'placeholder' => true,
-                'grouping|group_summary' => true,
-                'visibility|stream_owner_id' => true,
-                'visibility|viewer_id' => true,
-                'acting_uid' => true,
-                'templates|und|template' => true,
-                'grouping|templates|und|template' => true,
-              ),
-            ),
-          ),
-          '#name' => 'activity_log_log_action',
-          '#info' => 
-          array (
-            'label' => 'Log activity for members of the active group',
-            'label callback' => false,
-            'module' => 'Activity Log',
-            'eval input' => 
-            array (
-              0 => 'placeholder',
-              1 => 'grouping|group_summary',
-              2 => 'visibility|stream_owner_id',
-              3 => 'visibility|viewer_id',
-              4 => 'acting_uid',
-              5 => 'templates|und|template',
-              6 => 'grouping|templates|und|template',
-            ),
-          ),
-        ),
-        3 => 
-        array (
-          '#info' => 
-          array (
-            'label' => 'Log activity for related taxonomy terms',
-            'label callback' => false,
-            'module' => 'Activity Log',
-            'eval input' => 
-            array (
-              0 => 'placeholder',
-              1 => 'grouping|group_summary',
-              2 => 'visibility|stream_owner_id',
-              3 => 'visibility|viewer_id',
-              4 => 'acting_uid',
-              5 => 'templates|und|template',
-              6 => 'grouping|templates|und|template',
-            ),
-          ),
-          '#name' => 'activity_log_log_action',
-          '#settings' => 
-          array (
-            'placeholder' => '#!ACTIVITY_LOG_DELIMITER:',
-            'public_name' => '',
-            'templates' => 
-            array (
-              'en' => 
-              array (
-                'template' => '<div class="activity-log-picture">[author:picture]</div><div class="activity-log-indent"><div class="activity-log-content"><a href="[author:account-url]">[author:user]</a> added the [node:type-name] <a href="[node:node-url]">[node:title]</a> in <a href="[node:og-url]">[node:ogname]</a></div>
-<div class="activity-log-time"><a href="[node:node-url]">[node:small]</a></div></div>',
-              ),
-              'und' => 
-              array (
-                'template' => '<div class="activity-log-picture">[author:picture]</div><div class="activity-log-indent"><div class="activity-log-content"><a href="[author:account-url]">[author:user]</a> added the [node:type-name] <a href="[node:node-url]">[node:title]</a> in <a href="[node:og-url]">[node:ogname]</a></div>
-<div class="activity-log-time"><a href="[node:node-url]">[node:small]</a></div></div>',
-              ),
-            ),
-            'grouping' => 
-            array (
-              'group_method' => 'none',
-              'group_interval' => '86400',
-              'group_max' => '100',
-              'group_summary' => '',
-              'collapse_method' => 'activity_log_collapse_inline',
-              'templates' => 
-              array (
-                'en' => 
-                array (
-                  'template' => '',
-                ),
-                'und' => 
-                array (
-                  'template' => '',
-                ),
-              ),
-            ),
-            'visibility' => 
-            array (
-              'stream_owner_entity_group' => 
-              array (
-                'node terms' => 'node terms',
-                'custom' => 0,
-                'acting user' => 0,
-                'target entity' => 0,
-                'active group' => 0,
-                'active group members' => 0,
-                'active group admin' => 0,
-                'acting user relationships' => 0,
-                'custom user relationships' => 0,
-                'acting user relationships 1' => 0,
-                'custom user relationships 1' => 0,
-                'active group relationships acting user' => 0,
-                'active group relationships custom user' => 0,
-                'active group relationships 1 acting user' => 0,
-                'active group relationships 1 custom user' => 0,
-              ),
-              'stream_owner_id' => '',
-              'stream_owner_type' => 'user',
-              'viewer_entity_group' => 
-              array (
-                'everyone' => 'everyone',
-                'everyone_except_active' => 0,
-                'everyone_except_custom' => 0,
-                'custom' => 0,
-                'acting user' => 0,
-                'target entity' => 0,
-                'stream_owner' => 0,
-                'not_stream_owner' => 0,
-                'active group members' => 0,
-                'active group admin' => 0,
-                'acting user relationships' => 0,
-                'custom user relationships' => 0,
-                'acting user relationships 1' => 0,
-                'custom user relationships 1' => 0,
-                'active group relationships acting user' => 0,
-                'active group relationships custom user' => 0,
-                'active group relationships 1 acting user' => 0,
-                'active group relationships 1 custom user' => 0,
-              ),
-              'viewer_id' => '',
-            ),
-            'cache' => 
-            array (
-              'cache' => 1,
-              'resources' => '',
-            ),
-            'acting_uid' => '',
-            'display_type' => 'web',
-            'tid' => '7',
-            '#eval input' => 
-            array (
-              'token_rules_input_evaluator' => 
-              array (
-                'placeholder' => 
-                array (
-                  0 => ':global',
-                ),
-                'grouping|group_summary' => 
-                array (
-                  0 => ':global',
-                ),
-                'visibility|stream_owner_id' => 
-                array (
-                  0 => ':global',
-                ),
-                'visibility|viewer_id' => 
-                array (
-                  0 => ':global',
-                ),
-                'acting_uid' => 
-                array (
-                  0 => ':global',
-                ),
-                'templates|und|template' => 
-                array (
-                  0 => 'node',
-                  1 => 'author',
-                  2 => ':global',
-                ),
-                'grouping|templates|und|template' => 
-                array (
-                  0 => ':global',
-                ),
-              ),
-              'activity_log_input_evaluator_process' => 
-              array (
-                'placeholder' => true,
-                'grouping|group_summary' => true,
-                'visibility|stream_owner_id' => true,
-                'visibility|viewer_id' => true,
-                'acting_uid' => true,
-                'templates|und|template' => true,
-                'grouping|templates|und|template' => true,
-              ),
-            ),
-          ),
-          '#type' => 'action',
-          '#weight' => 0,
-        ),
-      ),
-      '#version' => 6003,
-    ),
-  );
-}
-
-/**
- * Self status update
- */
-function activity_log_rules_defaults_facebook_status_insert_user_self() {
-  return array(
-    'rules_activity_log_facebook_status_insert_user_self' => 
-    array (
-      '#type' => 'rule',
-      '#set' => 'event_facebook_status_save',
-      '#label' => 'Log activity when a user saves a personal status update',
-      '#active' => 1,
-      '#weight' => '0',
-      '#categories' => 
-      array (
-        0 => 'activity_log',
-        1 => 'facebook_status',
-      ),
-      '#status' => 'default',
-      '#conditions' => 
-      array (
-        0 => 
-        array (
-          '#weight' => 0,
-          '#info' => 
-          array (
-            'label' => 'User updated their own status',
-            'label callback' => false,
-            'arguments' => 
-            array (
-              'status' => 
-              array (
-                'type' => 'facebook_status',
-                'label' => 'The status',
-              ),
-            ),
-            'module' => 'Facebook-style Statuses',
-          ),
-          '#name' => 'fbss_rules_is_self',
-          '#settings' => 
-          array (
-            '#argument map' => 
-            array (
-              'status' => 'status',
-            ),
-          ),
-          '#type' => 'condition',
-        ),
-      ),
-      '#actions' => 
-      array (
-        0 => 
-        array (
-          '#type' => 'action',
-          '#settings' => 
-          array (
-            'placeholder' => '#!ACTIVITY_LOG_DELIMITER:',
-            'public_name' => '',
-            'templates' => 
-            array (
-              'en' => 
-              array (
-                'template' => '[status:status-themed]',
-              ),
-              'und' => 
-              array (
-                'template' => '[status:status-themed]',
-              ),
-            ),
-            'grouping' => 
-            array (
-              'group_method' => 'none',
-              'group_interval' => '86400',
-              'group_max' => '100',
-              'group_summary' => '',
-              'collapse_method' => 'activity_log_collapse_inline',
-              'templates' => 
-              array (
-                'en' => 
-                array (
-                  'template' => '',
-                ),
-                'und' => 
-                array (
-                  'template' => '',
-                ),
-              ),
-            ),
-            'visibility' => 
-            array (
-              'stream_owner_entity_group' => 
-              array (
-                'acting user' => 'acting user',
-                'mentioned users' => 'mentioned users',
-                'hashtag terms' => 'hashtag terms',
-                'custom' => 0,
-                'target entity' => 0,
-                'active group' => 0,
-                'active group members' => 0,
-                'active group admin' => 0,
-                'acting user relationships' => 0,
-                'custom user relationships' => 0,
-                'acting user relationships 1' => 0,
-                'custom user relationships 1' => 0,
-                'active group relationships acting user' => 0,
-                'active group relationships custom user' => 0,
-                'active group relationships 1 acting user' => 0,
-                'active group relationships 1 custom user' => 0,
-                'status recipient' => 0,
-              ),
-              'stream_owner_id' => '',
-              'stream_owner_type' => 'user',
-              'viewer_entity_group' => 
-              array (
-                'everyone' => 'everyone',
-                'everyone_except_active' => 0,
-                'everyone_except_custom' => 0,
-                'custom' => 0,
-                'acting user' => 0,
-                'target entity' => 0,
-                'stream_owner' => 0,
-                'not_stream_owner' => 0,
-                'active group members' => 0,
-                'active group admin' => 0,
-                'acting user relationships' => 0,
-                'custom user relationships' => 0,
-                'acting user relationships 1' => 0,
-                'custom user relationships 1' => 0,
-                'active group relationships acting user' => 0,
-                'active group relationships custom user' => 0,
-                'active group relationships 1 acting user' => 0,
-                'active group relationships 1 custom user' => 0,
-                'mentioned users' => 0,
-                'status recipient' => 0,
-              ),
-              'viewer_id' => '',
-            ),
-            'cache' => 
-            array (
-              'cache' => 0,
-              'resources' => '',
-            ),
-            'acting_uid' => '[status:sender-uid]',
-            'display_type' => 'web',
-            'tid' => '8',
-            '#eval input' => 
-            array (
-              'token_rules_input_evaluator' => 
-              array (
-                'placeholder' => 
-                array (
-                  0 => ':global',
-                ),
-                'grouping|group_summary' => 
-                array (
-                  0 => ':global',
-                ),
-                'visibility|stream_owner_id' => 
-                array (
-                  0 => ':global',
-                ),
-                'visibility|viewer_id' => 
-                array (
-                  0 => ':global',
-                ),
-                'acting_uid' => 
-                array (
-                  0 => 'status',
-                  1 => ':global',
-                ),
-                'templates|und|template' => 
-                array (
-                  0 => 'status',
-                  1 => ':global',
-                ),
-                'grouping|templates|und|template' => 
-                array (
-                  0 => ':global',
-                ),
-              ),
-              'activity_log_input_evaluator_process' => 
-              array (
-                'placeholder' => true,
-                'grouping|group_summary' => true,
-                'visibility|stream_owner_id' => true,
-                'visibility|viewer_id' => true,
-                'acting_uid' => true,
-                'templates|und|template' => true,
-                'grouping|templates|und|template' => true,
-              ),
-            ),
-          ),
-          '#name' => 'activity_log_log_action',
-          '#info' => 
-          array (
-            'label' => 'Log activity for the acting user',
-            'label callback' => false,
-            'module' => 'Activity Log',
-            'eval input' => 
-            array (
-              0 => 'placeholder',
-              1 => 'grouping|group_summary',
-              2 => 'visibility|stream_owner_id',
-              3 => 'visibility|viewer_id',
-              4 => 'acting_uid',
-              5 => 'templates|und|template',
-              6 => 'grouping|templates|und|template',
-            ),
-          ),
-          '#weight' => 0,
-        ),
-        1 => 
-        array (
-          '#weight' => 0,
-          '#info' => 
-          array (
-            'label' => 'Log activity for the acting user\'s relationships',
-            'label callback' => false,
-            'module' => 'Activity Log',
-            'eval input' => 
-            array (
-              0 => 'placeholder',
-              1 => 'grouping|group_summary',
-              2 => 'visibility|stream_owner_id',
-              3 => 'visibility|viewer_id',
-              4 => 'acting_uid',
-              5 => 'templates|und|template',
-              6 => 'grouping|templates|und|template',
-            ),
-          ),
-          '#name' => 'activity_log_log_action',
-          '#settings' => 
-          array (
-            'placeholder' => '#!ACTIVITY_LOG_DELIMITER:',
-            'public_name' => '',
-            'templates' => 
-            array (
-              'en' => 
-              array (
-                'template' => '[status:status-themed]',
-              ),
-              'und' => 
-              array (
-                'template' => '[status:status-themed]',
-              ),
-            ),
-            'grouping' => 
-            array (
-              'group_method' => 'none',
-              'group_interval' => '86400',
-              'group_max' => '100',
-              'group_summary' => '',
-              'collapse_method' => 'activity_log_collapse_inline',
-              'templates' => 
-              array (
-                'en' => 
-                array (
-                  'template' => '',
-                ),
-                'und' => 
-                array (
-                  'template' => '',
-                ),
-              ),
-            ),
-            'visibility' => 
-            array (
-              'stream_owner_entity_group' => 
-              array (
-                'acting user relationships' => 'acting user relationships',
-                'custom' => 0,
-                'acting user' => 0,
-                'target entity' => 0,
-                'active group' => 0,
-                'active group members' => 0,
-                'active group admin' => 0,
-                'custom user relationships' => 0,
-                'acting user relationships 1' => 0,
-                'custom user relationships 1' => 0,
-                'active group relationships acting user' => 0,
-                'active group relationships custom user' => 0,
-                'active group relationships 1 acting user' => 0,
-                'active group relationships 1 custom user' => 0,
-                'mentioned users' => 0,
-                'hashtag terms' => 0,
-                'status recipient' => 0,
-              ),
-              'stream_owner_id' => '',
-              'stream_owner_type' => 'user',
-              'viewer_entity_group' => 
-              array (
-                'stream_owner' => 'stream_owner',
-                'everyone' => 0,
-                'everyone_except_active' => 0,
-                'everyone_except_custom' => 0,
-                'custom' => 0,
-                'acting user' => 0,
-                'target entity' => 0,
-                'not_stream_owner' => 0,
-                'active group members' => 0,
-                'active group admin' => 0,
-                'acting user relationships' => 0,
-                'custom user relationships' => 0,
-                'acting user relationships 1' => 0,
-                'custom user relationships 1' => 0,
-                'active group relationships acting user' => 0,
-                'active group relationships custom user' => 0,
-                'active group relationships 1 acting user' => 0,
-                'active group relationships 1 custom user' => 0,
-                'mentioned users' => 0,
-                'status recipient' => 0,
-              ),
-              'viewer_id' => '',
-            ),
-            'cache' => 
-            array (
-              'cache' => 0,
-              'resources' => '',
-            ),
-            'acting_uid' => '[status:sender-uid]',
-            'display_type' => 'web',
-            'tid' => '9',
-            '#eval input' => 
-            array (
-              'token_rules_input_evaluator' => 
-              array (
-                'placeholder' => 
-                array (
-                  0 => ':global',
-                ),
-                'grouping|group_summary' => 
-                array (
-                  0 => ':global',
-                ),
-                'visibility|stream_owner_id' => 
-                array (
-                  0 => ':global',
-                ),
-                'visibility|viewer_id' => 
-                array (
-                  0 => ':global',
-                ),
-                'acting_uid' => 
-                array (
-                  0 => 'status',
-                  1 => ':global',
-                ),
-                'templates|und|template' => 
-                array (
-                  0 => 'status',
-                  1 => ':global',
-                ),
-                'grouping|templates|und|template' => 
-                array (
-                  0 => ':global',
-                ),
-              ),
-              'activity_log_input_evaluator_process' => 
-              array (
-                'placeholder' => true,
-                'grouping|group_summary' => true,
-                'visibility|stream_owner_id' => true,
-                'visibility|viewer_id' => true,
-                'acting_uid' => true,
-                'templates|und|template' => true,
-                'grouping|templates|und|template' => true,
-              ),
-            ),
-          ),
-          '#type' => 'action',
-        ),
-      ),
-      '#version' => 6003,
-    ),
-  );
-}
-
-/**
- * Other status update
- */
-function activity_log_rules_defaults_facebook_status_insert_other() {
-  return array(
-    'rules_activity_log_facebook_status_insert_other' => 
-    array (
-      '#type' => 'rule',
-      '#set' => 'event_facebook_status_save',
-      '#label' => 'Log activity when a user sends a status message',
-      '#active' => 1,
-      '#weight' => '0',
-      '#categories' => 
-      array (
-        0 => 'activity_log',
-        1 => 'facebook_status',
-      ),
-      '#status' => 'default',
-      '#conditions' => 
-      array (
-        0 => 
-        array (
-          '#negate' => 1,
-          '#weight' => 0,
-          '#type' => 'condition',
-          '#settings' => 
-          array (
-            '#argument map' => 
-            array (
-              'status' => 'status',
-            ),
-          ),
-          '#name' => 'fbss_rules_is_self',
-          '#info' => 
-          array (
-            'label' => 'User updated their own status',
-            'label callback' => false,
-            'arguments' => 
-            array (
-              'status' => 
-              array (
-                'type' => 'facebook_status',
-                'label' => 'The status',
-              ),
-            ),
-            'module' => 'Facebook-style Statuses',
-          ),
-        ),
-      ),
-      '#actions' => 
-      array (
-        0 => 
-        array (
-          '#weight' => 0,
-          '#info' => 
-          array (
-            'label' => 'Log activity for the recipient and @mentioned users',
-            'label callback' => false,
-            'module' => 'Activity Log',
-            'eval input' => 
-            array (
-              0 => 'placeholder',
-              1 => 'grouping|group_summary',
-              2 => 'visibility|stream_owner_id',
-              3 => 'visibility|viewer_id',
-              4 => 'acting_uid',
-              5 => 'templates|und|template',
-              6 => 'grouping|templates|und|template',
-            ),
-          ),
-          '#name' => 'activity_log_log_action',
-          '#settings' => 
-          array (
-            'placeholder' => '#!ACTIVITY_LOG_DELIMITER:',
-            'public_name' => '',
-            'templates' => 
-            array (
-              'en' => 
-              array (
-                'template' => '[status:status-themed]',
-              ),
-              'und' => 
-              array (
-                'template' => '[status:status-themed]',
-              ),
-            ),
-            'grouping' => 
-            array (
-              'group_method' => 'none',
-              'group_interval' => '86400',
-              'group_max' => '100',
-              'group_summary' => '',
-              'collapse_method' => 'activity_log_collapse_inline',
-              'templates' => 
-              array (
-                'en' => 
-                array (
-                  'template' => '',
-                ),
-                'und' => 
-                array (
-                  'template' => '',
-                ),
-              ),
-            ),
-            'visibility' => 
-            array (
-              'stream_owner_entity_group' => 
-              array (
-                'mentioned users' => 'mentioned users',
-                'hashtag terms' => 'hashtag terms',
-                'status recipient' => 'status recipient',
-                'custom' => 0,
-                'acting user' => 0,
-                'target entity' => 0,
-                'active group' => 0,
-                'active group members' => 0,
-                'active group admin' => 0,
-                'acting user relationships' => 0,
-                'custom user relationships' => 0,
-                'acting user relationships 1' => 0,
-                'custom user relationships 1' => 0,
-                'active group relationships acting user' => 0,
-                'active group relationships custom user' => 0,
-                'active group relationships 1 acting user' => 0,
-                'active group relationships 1 custom user' => 0,
-              ),
-              'stream_owner_id' => '',
-              'stream_owner_type' => 'user',
-              'viewer_entity_group' => 
-              array (
-                'everyone' => 'everyone',
-                'everyone_except_active' => 0,
-                'everyone_except_custom' => 0,
-                'custom' => 0,
-                'acting user' => 0,
-                'target entity' => 0,
-                'stream_owner' => 0,
-                'not_stream_owner' => 0,
-                'active group members' => 0,
-                'active group admin' => 0,
-                'acting user relationships' => 0,
-                'custom user relationships' => 0,
-                'acting user relationships 1' => 0,
-                'custom user relationships 1' => 0,
-                'active group relationships acting user' => 0,
-                'active group relationships custom user' => 0,
-                'active group relationships 1 acting user' => 0,
-                'active group relationships 1 custom user' => 0,
-                'mentioned users' => 0,
-                'status recipient' => 0,
-              ),
-              'viewer_id' => '',
-            ),
-            'cache' => 
-            array (
-              'cache' => 0,
-              'resources' => '',
-            ),
-            'acting_uid' => '[status:sender-uid]',
-            'display_type' => 'web',
-            'tid' => '10',
-            '#eval input' => 
-            array (
-              'token_rules_input_evaluator' => 
-              array (
-                'placeholder' => 
-                array (
-                  0 => ':global',
-                ),
-                'grouping|group_summary' => 
-                array (
-                  0 => ':global',
-                ),
-                'visibility|stream_owner_id' => 
-                array (
-                  0 => 'status',
-                  1 => ':global',
-                ),
-                'visibility|viewer_id' => 
-                array (
-                  0 => ':global',
-                ),
-                'acting_uid' => 
-                array (
-                  0 => 'status',
-                  1 => ':global',
-                ),
-                'templates|und|template' => 
-                array (
-                  0 => 'status',
-                  1 => ':global',
-                ),
-                'grouping|templates|und|template' => 
-                array (
-                  0 => ':global',
-                ),
-              ),
-              'activity_log_input_evaluator_process' => 
-              array (
-                'placeholder' => true,
-                'grouping|group_summary' => true,
-                'visibility|stream_owner_id' => true,
-                'visibility|viewer_id' => true,
-                'acting_uid' => true,
-                'templates|und|template' => true,
-                'grouping|templates|und|template' => true,
-              ),
-            ),
-          ),
-          '#type' => 'action',
-        ),
-        1 => 
-        array (
-          '#weight' => 0,
-          '#type' => 'action',
-          '#settings' => 
-          array (
-            'placeholder' => '#!ACTIVITY_LOG_DELIMITER:',
-            'public_name' => '',
-            'templates' => 
-            array (
-              'en' => 
-              array (
-                'template' => '<div class="activity-log-picture">[status:sender-picture]</div><div class="activity-log-indent"><div class="activity-log-content">[status:sender-themed] wrote a message to [status:recipient-link]</div>
-<div class="activity-log-time"><a href="[status:status-url]">[status:created]</a></div></div>',
-              ),
-              'und' => 
-              array (
-                'template' => '<div class="activity-log-picture">[status:sender-picture]</div><div class="activity-log-indent"><div class="activity-log-content">[status:sender-themed] wrote a message to [status:recipient-link]</div>
-<div class="activity-log-time"><a href="[status:status-url]">[status:created]</a></div></div>',
-              ),
-            ),
-            'grouping' => 
-            array (
-              'group_method' => 'none',
-              'group_interval' => '86400',
-              'group_max' => '100',
-              'group_summary' => '',
-              'collapse_method' => 'activity_log_collapse_inline',
-              'templates' => 
-              array (
-                'en' => 
-                array (
-                  'template' => '',
-                ),
-                'und' => 
-                array (
-                  'template' => '',
-                ),
-              ),
-            ),
-            'visibility' => 
-            array (
-              'stream_owner_entity_group' => 
-              array (
-                'acting user' => 'acting user',
-                'custom' => 0,
-                'target entity' => 0,
-                'active group' => 0,
-                'active group members' => 0,
-                'active group admin' => 0,
-                'acting user relationships' => 0,
-                'custom user relationships' => 0,
-                'acting user relationships 1' => 0,
-                'custom user relationships 1' => 0,
-                'active group relationships acting user' => 0,
-                'active group relationships custom user' => 0,
-                'active group relationships 1 acting user' => 0,
-                'active group relationships 1 custom user' => 0,
-                'mentioned users' => 0,
-                'hashtag terms' => 0,
-                'status recipient' => 0,
-              ),
-              'stream_owner_id' => '',
-              'stream_owner_type' => 'user',
-              'viewer_entity_group' => 
-              array (
-                'everyone' => 'everyone',
-                'everyone_except_active' => 0,
-                'everyone_except_custom' => 0,
-                'custom' => 0,
-                'acting user' => 0,
-                'target entity' => 0,
-                'stream_owner' => 0,
-                'not_stream_owner' => 0,
-                'active group members' => 0,
-                'active group admin' => 0,
-                'acting user relationships' => 0,
-                'custom user relationships' => 0,
-                'acting user relationships 1' => 0,
-                'custom user relationships 1' => 0,
-                'active group relationships acting user' => 0,
-                'active group relationships custom user' => 0,
-                'active group relationships 1 acting user' => 0,
-                'active group relationships 1 custom user' => 0,
-                'mentioned users' => 0,
-                'status recipient' => 0,
-              ),
-              'viewer_id' => '',
-            ),
-            'cache' => 
-            array (
-              'cache' => 1,
-              'resources' => '',
-            ),
-            'acting_uid' => '[status:sender-uid]',
-            'display_type' => 'web',
-            'tid' => '11',
-            '#eval input' => 
-            array (
-              'token_rules_input_evaluator' => 
-              array (
-                'placeholder' => 
-                array (
-                  0 => ':global',
-                ),
-                'grouping|group_summary' => 
-                array (
-                  0 => ':global',
-                ),
-                'visibility|stream_owner_id' => 
-                array (
-                  0 => ':global',
-                ),
-                'visibility|viewer_id' => 
-                array (
-                  0 => ':global',
-                ),
-                'acting_uid' => 
-                array (
-                  0 => 'status',
-                  1 => ':global',
-                ),
-                'templates|und|template' => 
-                array (
-                  0 => 'status',
-                  1 => ':global',
-                ),
-                'grouping|templates|und|template' => 
-                array (
-                  0 => ':global',
-                ),
-              ),
-              'activity_log_input_evaluator_process' => 
-              array (
-                'placeholder' => true,
-                'grouping|group_summary' => true,
-                'visibility|stream_owner_id' => true,
-                'visibility|viewer_id' => true,
-                'acting_uid' => true,
-                'templates|und|template' => true,
-                'grouping|templates|und|template' => true,
-              ),
-            ),
-          ),
-          '#name' => 'activity_log_log_action',
-          '#info' => 
-          array (
-            'label' => 'Log activity for the acting user',
-            'label callback' => false,
-            'module' => 'Activity Log',
-            'eval input' => 
-            array (
-              0 => 'placeholder',
-              1 => 'grouping|group_summary',
-              2 => 'visibility|stream_owner_id',
-              3 => 'visibility|viewer_id',
-              4 => 'acting_uid',
-              5 => 'templates|und|template',
-              6 => 'grouping|templates|und|template',
-            ),
-          ),
-        ),
-        2 => 
-        array (
-          '#weight' => 0,
-          '#info' => 
-          array (
-            'label' => 'Log activity for members of the active group',
-            'label callback' => false,
-            'module' => 'Activity Log',
-            'eval input' => 
-            array (
-              0 => 'placeholder',
-              1 => 'grouping|group_summary',
-              2 => 'visibility|stream_owner_id',
-              3 => 'visibility|viewer_id',
-              4 => 'acting_uid',
-              5 => 'templates|und|template',
-              6 => 'grouping|templates|und|template',
-            ),
-          ),
-          '#name' => 'activity_log_log_action',
-          '#settings' => 
-          array (
-            'placeholder' => '#!ACTIVITY_LOG_DELIMITER:',
-            'public_name' => '',
-            'templates' => 
-            array (
-              'en' => 
-              array (
-                'template' => '[status:status-themed]',
-              ),
-              'und' => 
-              array (
-                'template' => '[status:status-themed]',
-              ),
-            ),
-            'grouping' => 
-            array (
-              'group_method' => 'none',
-              'group_interval' => '86400',
-              'group_max' => '100',
-              'group_summary' => '',
-              'collapse_method' => 'activity_log_collapse_inline',
-              'templates' => 
-              array (
-                'en' => 
-                array (
-                  'template' => '',
-                ),
-                'und' => 
-                array (
-                  'template' => '',
-                ),
-              ),
-            ),
-            'visibility' => 
-            array (
-              'stream_owner_entity_group' => 
-              array (
-                'active group members' => 'active group members',
-                'custom' => 0,
-                'acting user' => 0,
-                'target entity' => 0,
-                'active group' => 0,
-                'active group admin' => 0,
-                'acting user relationships' => 0,
-                'custom user relationships' => 0,
-                'acting user relationships 1' => 0,
-                'custom user relationships 1' => 0,
-                'active group relationships acting user' => 0,
-                'active group relationships custom user' => 0,
-                'active group relationships 1 acting user' => 0,
-                'active group relationships 1 custom user' => 0,
-                'mentioned users' => 0,
-                'hashtag terms' => 0,
-                'status recipient' => 0,
-              ),
-              'stream_owner_id' => '',
-              'stream_owner_type' => 'user',
-              'viewer_entity_group' => 
-              array (
-                'stream_owner' => 'stream_owner',
-                'everyone' => 0,
-                'everyone_except_active' => 0,
-                'everyone_except_custom' => 0,
-                'custom' => 0,
-                'acting user' => 0,
-                'target entity' => 0,
-                'not_stream_owner' => 0,
-                'active group members' => 0,
-                'active group admin' => 0,
-                'acting user relationships' => 0,
-                'custom user relationships' => 0,
-                'acting user relationships 1' => 0,
-                'custom user relationships 1' => 0,
-                'active group relationships acting user' => 0,
-                'active group relationships custom user' => 0,
-                'active group relationships 1 acting user' => 0,
-                'active group relationships 1 custom user' => 0,
-                'mentioned users' => 0,
-                'status recipient' => 0,
-              ),
-              'viewer_id' => '',
-            ),
-            'cache' => 
-            array (
-              'cache' => 0,
-              'resources' => '',
-            ),
-            'acting_uid' => '',
-            'display_type' => 'web',
-            'tid' => '12',
-            '#eval input' => 
-            array (
-              'token_rules_input_evaluator' => 
-              array (
-                'placeholder' => 
-                array (
-                  0 => ':global',
-                ),
-                'grouping|group_summary' => 
-                array (
-                  0 => ':global',
-                ),
-                'visibility|stream_owner_id' => 
-                array (
-                  0 => ':global',
-                ),
-                'visibility|viewer_id' => 
-                array (
-                  0 => ':global',
-                ),
-                'acting_uid' => 
-                array (
-                  0 => ':global',
-                ),
-                'templates|und|template' => 
-                array (
-                  0 => 'status',
-                  1 => ':global',
-                ),
-                'grouping|templates|und|template' => 
-                array (
-                  0 => ':global',
-                ),
-              ),
-              'activity_log_input_evaluator_process' => 
-              array (
-                'placeholder' => true,
-                'grouping|group_summary' => true,
-                'visibility|stream_owner_id' => true,
-                'visibility|viewer_id' => true,
-                'acting_uid' => true,
-                'templates|und|template' => true,
-                'grouping|templates|und|template' => true,
-              ),
-            ),
-          ),
-          '#type' => 'action',
-        ),
-      ),
-      '#version' => 6003,
-    ),
-  );
-}
-
-/**
- * Self status update with attachment
- */
-function activity_log_rules_defaults_fbsmp_insert_user_self() {
-  return array(
-    'rules_activity_log_fbsmp_insert_user_self' => 
-    array (
-      '#type' => 'rule',
-      '#set' => 'event_fbsmp_add_status',
-      '#label' => 'Log activity when a user saves a personal status update with an attachment',
-      '#active' => 1,
-      '#weight' => '0',
-      '#categories' => 
-      array (
-        0 => 'activity_log',
-        1 => 'fbsmp',
-      ),
-      '#status' => 'default',
-      '#conditions' => 
-      array (
-        0 => 
-        array (
-          '#weight' => 0,
-          '#info' => 
-          array (
-            'label' => 'User updated their own status',
-            'label callback' => false,
-            'arguments' => 
-            array (
-              'status' => 
-              array (
-                'type' => 'facebook_status',
-                'label' => 'The status',
-              ),
-            ),
-            'module' => 'Facebook-style Statuses',
-          ),
-          '#name' => 'fbss_rules_is_self',
-          '#settings' => 
-          array (
-            '#argument map' => 
-            array (
-              'status' => 'status',
-            ),
-          ),
-          '#type' => 'condition',
-        ),
-      ),
-      '#actions' => 
-      array (
-        0 => 
-        array (
-          '#type' => 'action',
-          '#settings' => 
-          array (
-            'placeholder' => '#!ACTIVITY_LOG_DELIMITER:',
-            'public_name' => '',
-            'templates' => 
-            array (
-              'en' => 
-              array (
-                'template' => '[status:status-themed]',
-              ),
-              'und' => 
-              array (
-                'template' => '[status:status-themed]',
-              ),
-            ),
-            'grouping' => 
-            array (
-              'group_method' => 'none',
-              'group_interval' => '86400',
-              'group_max' => '100',
-              'group_summary' => '',
-              'collapse_method' => 'activity_log_collapse_inline',
-              'templates' => 
-              array (
-                'en' => 
-                array (
-                  'template' => '',
-                ),
-                'und' => 
-                array (
-                  'template' => '',
-                ),
-              ),
-            ),
-            'visibility' => 
-            array (
-              'stream_owner_entity_group' => 
-              array (
-                'acting user' => 'acting user',
-                'custom' => 0,
-                'target entity' => 0,
-                'active group' => 0,
-                'active group members' => 0,
-                'active group admin' => 0,
-                'acting user relationships' => 0,
-                'custom user relationships' => 0,
-                'acting user relationships 1' => 0,
-                'custom user relationships 1' => 0,
-                'active group relationships acting user' => 0,
-                'active group relationships custom user' => 0,
-                'active group relationships 1 acting user' => 0,
-                'active group relationships 1 custom user' => 0,
-              ),
-              'stream_owner_id' => '',
-              'stream_owner_type' => 'user',
-              'viewer_entity_group' => 
-              array (
-                'everyone' => 'everyone',
-                'everyone_except_active' => 0,
-                'everyone_except_custom' => 0,
-                'custom' => 0,
-                'acting user' => 0,
-                'target entity' => 0,
-                'stream_owner' => 0,
-                'not_stream_owner' => 0,
-                'active group members' => 0,
-                'active group admin' => 0,
-                'acting user relationships' => 0,
-                'custom user relationships' => 0,
-                'acting user relationships 1' => 0,
-                'custom user relationships 1' => 0,
-                'active group relationships acting user' => 0,
-                'active group relationships custom user' => 0,
-                'active group relationships 1 acting user' => 0,
-                'active group relationships 1 custom user' => 0,
-              ),
-              'viewer_id' => '',
-            ),
-            'cache' => 
-            array (
-              'cache' => 0,
-              'resources' => '',
-            ),
-            'acting_uid' => '[status:sender-uid]',
-            'display_type' => 'web',
-            'tid' => '13',
-            '#eval input' => 
-            array (
-              'token_rules_input_evaluator' => 
-              array (
-                'placeholder' => 
-                array (
-                  0 => ':global',
-                ),
-                'grouping|group_summary' => 
-                array (
-                  0 => ':global',
-                ),
-                'visibility|stream_owner_id' => 
-                array (
-                  0 => ':global',
-                ),
-                'visibility|viewer_id' => 
-                array (
-                  0 => ':global',
-                ),
-                'acting_uid' => 
-                array (
-                  0 => 'status',
-                  1 => ':global',
-                ),
-                'templates|und|template' => 
-                array (
-                  0 => 'status',
-                  1 => ':global',
-                ),
-                'grouping|templates|und|template' => 
-                array (
-                  0 => ':global',
-                ),
-              ),
-              'activity_log_input_evaluator_process' => 
-              array (
-                'placeholder' => true,
-                'grouping|group_summary' => true,
-                'visibility|stream_owner_id' => true,
-                'visibility|viewer_id' => true,
-                'acting_uid' => true,
-                'templates|und|template' => true,
-                'grouping|templates|und|template' => true,
-              ),
-            ),
-          ),
-          '#name' => 'activity_log_log_action',
-          '#info' => 
-          array (
-            'label' => 'Log activity for the acting user',
-            'label callback' => false,
-            'module' => 'Activity Log',
-            'eval input' => 
-            array (
-              0 => 'placeholder',
-              1 => 'grouping|group_summary',
-              2 => 'visibility|stream_owner_id',
-              3 => 'visibility|viewer_id',
-              4 => 'acting_uid',
-              5 => 'templates|und|template',
-              6 => 'grouping|templates|und|template',
-            ),
-          ),
-          '#weight' => 0,
-        ),
-        1 => 
-        array (
-          '#weight' => 0,
-          '#info' => 
-          array (
-            'label' => 'Log activity for the acting user\'s relationships',
-            'label callback' => false,
-            'module' => 'Activity Log',
-            'eval input' => 
-            array (
-              0 => 'placeholder',
-              1 => 'grouping|group_summary',
-              2 => 'visibility|stream_owner_id',
-              3 => 'visibility|viewer_id',
-              4 => 'acting_uid',
-              5 => 'templates|und|template',
-              6 => 'grouping|templates|und|template',
-            ),
-          ),
-          '#name' => 'activity_log_log_action',
-          '#settings' => 
-          array (
-            'placeholder' => '#!ACTIVITY_LOG_DELIMITER:',
-            'public_name' => '',
-            'templates' => 
-            array (
-              'en' => 
-              array (
-                'template' => '[status:status-themed]',
-              ),
-              'und' => 
-              array (
-                'template' => '[status:status-themed]',
-              ),
-            ),
-            'grouping' => 
-            array (
-              'group_method' => 'none',
-              'group_interval' => '86400',
-              'group_max' => '100',
-              'group_summary' => '',
-              'collapse_method' => 'activity_log_collapse_inline',
-              'templates' => 
-              array (
-                'en' => 
-                array (
-                  'template' => '',
-                ),
-                'und' => 
-                array (
-                  'template' => '',
-                ),
-              ),
-            ),
-            'visibility' => 
-            array (
-              'stream_owner_entity_group' => 
-              array (
-                'acting user relationships' => 'acting user relationships',
-                'custom' => 0,
-                'acting user' => 0,
-                'target entity' => 0,
-                'active group' => 0,
-                'active group members' => 0,
-                'active group admin' => 0,
-                'custom user relationships' => 0,
-                'acting user relationships 1' => 0,
-                'custom user relationships 1' => 0,
-                'active group relationships acting user' => 0,
-                'active group relationships custom user' => 0,
-                'active group relationships 1 acting user' => 0,
-                'active group relationships 1 custom user' => 0,
-              ),
-              'stream_owner_id' => '',
-              'stream_owner_type' => 'user',
-              'viewer_entity_group' => 
-              array (
-                'stream_owner' => 'stream_owner',
-                'everyone' => 0,
-                'everyone_except_active' => 0,
-                'everyone_except_custom' => 0,
-                'custom' => 0,
-                'acting user' => 0,
-                'target entity' => 0,
-                'not_stream_owner' => 0,
-                'active group members' => 0,
-                'active group admin' => 0,
-                'acting user relationships' => 0,
-                'custom user relationships' => 0,
-                'acting user relationships 1' => 0,
-                'custom user relationships 1' => 0,
-                'active group relationships acting user' => 0,
-                'active group relationships custom user' => 0,
-                'active group relationships 1 acting user' => 0,
-                'active group relationships 1 custom user' => 0,
-              ),
-              'viewer_id' => '',
-            ),
-            'cache' => 
-            array (
-              'cache' => 0,
-              'resources' => '',
-            ),
-            'acting_uid' => '[status:sender-uid]',
-            'display_type' => 'web',
-            'tid' => '14',
-            '#eval input' => 
-            array (
-              'token_rules_input_evaluator' => 
-              array (
-                'placeholder' => 
-                array (
-                  0 => ':global',
-                ),
-                'grouping|group_summary' => 
-                array (
-                  0 => ':global',
-                ),
-                'visibility|stream_owner_id' => 
-                array (
-                  0 => ':global',
-                ),
-                'visibility|viewer_id' => 
-                array (
-                  0 => ':global',
-                ),
-                'acting_uid' => 
-                array (
-                  0 => 'status',
-                  1 => ':global',
-                ),
-                'templates|und|template' => 
-                array (
-                  0 => 'status',
-                  1 => ':global',
-                ),
-                'grouping|templates|und|template' => 
-                array (
-                  0 => ':global',
-                ),
-              ),
-              'activity_log_input_evaluator_process' => 
-              array (
-                'placeholder' => true,
-                'grouping|group_summary' => true,
-                'visibility|stream_owner_id' => true,
-                'visibility|viewer_id' => true,
-                'acting_uid' => true,
-                'templates|und|template' => true,
-                'grouping|templates|und|template' => true,
+                  'template' => '<div class="activity-log-picture">[author:picture]</div><div class="activity-log-indent"><div class="activity-log-content"><a href="[author:account-url]">[author:user]</a> added the [node:type-name] <a href="[node:node-url]">[node:title]</a> in <a href="[node:og-url]">[node:ogname]</a></div>
+    <div class="activity-log-time"><a href="[node:node-url]">[node:small]</a></div></div>',
+                ),
+              ),
+              'grouping' => 
+              array (
+                'group_method' => 'none',
+                'group_interval' => '86400',
+                'group_max' => '100',
+                'group_summary' => '',
+                'collapse_method' => 'activity_log_collapse_inline',
+                'templates' => 
+                array (
+                  'en' => 
+                  array (
+                    'template' => '',
+                  ),
+                  'und' => 
+                  array (
+                    'template' => '',
+                  ),
+                ),
+              ),
+              'visibility' => 
+              array (
+                'stream_owner_entity_group' => 
+                array (
+                  'node terms' => 'node terms',
+                  'custom' => 0,
+                  'acting user' => 0,
+                  'target entity' => 0,
+                  'active group' => 0,
+                  'active group members' => 0,
+                  'active group admin' => 0,
+                  'acting user relationships' => 0,
+                  'custom user relationships' => 0,
+                  'acting user relationships 1' => 0,
+                  'custom user relationships 1' => 0,
+                  'active group relationships acting user' => 0,
+                  'active group relationships custom user' => 0,
+                  'active group relationships 1 acting user' => 0,
+                  'active group relationships 1 custom user' => 0,
+                ),
+                'stream_owner_id' => '',
+                'stream_owner_type' => 'user',
+                'viewer_entity_group' => 
+                array (
+                  'everyone' => 'everyone',
+                  'everyone_except_active' => 0,
+                  'everyone_except_custom' => 0,
+                  'custom' => 0,
+                  'acting user' => 0,
+                  'target entity' => 0,
+                  'stream_owner' => 0,
+                  'not_stream_owner' => 0,
+                  'active group members' => 0,
+                  'active group admin' => 0,
+                  'acting user relationships' => 0,
+                  'custom user relationships' => 0,
+                  'acting user relationships 1' => 0,
+                  'custom user relationships 1' => 0,
+                  'active group relationships acting user' => 0,
+                  'active group relationships custom user' => 0,
+                  'active group relationships 1 acting user' => 0,
+                  'active group relationships 1 custom user' => 0,
+                ),
+                'viewer_id' => '',
+              ),
+              'cache' => 
+              array (
+                'cache' => 1,
+                'resources' => '',
+              ),
+              'acting_uid' => '',
+              'display_type' => 'web',
+              'tid' => '7',
+              '#eval input' => 
+              array (
+                'token_rules_input_evaluator' => 
+                array (
+                  'placeholder' => 
+                  array (
+                    0 => ':global',
+                  ),
+                  'grouping|group_summary' => 
+                  array (
+                    0 => ':global',
+                  ),
+                  'visibility|stream_owner_id' => 
+                  array (
+                    0 => ':global',
+                  ),
+                  'visibility|viewer_id' => 
+                  array (
+                    0 => ':global',
+                  ),
+                  'acting_uid' => 
+                  array (
+                    0 => ':global',
+                  ),
+                  'templates|und|template' => 
+                  array (
+                    0 => 'node',
+                    1 => 'author',
+                    2 => ':global',
+                  ),
+                  'grouping|templates|und|template' => 
+                  array (
+                    0 => ':global',
+                  ),
+                ),
+                'activity_log_input_evaluator_process' => 
+                array (
+                  'placeholder' => true,
+                  'grouping|group_summary' => true,
+                  'visibility|stream_owner_id' => true,
+                  'visibility|viewer_id' => true,
+                  'acting_uid' => true,
+                  'templates|und|template' => true,
+                  'grouping|templates|und|template' => true,
+                ),
+              ),
+            ),
+            '#name' => 'activity_log_log_action',
+            '#info' => 
+            array (
+              'label' => 'Log activity for related taxonomy terms',
+              'label callback' => false,
+              'module' => 'Activity Log',
+              'eval input' => 
+              array (
+                0 => 'placeholder',
+                1 => 'grouping|group_summary',
+                2 => 'visibility|stream_owner_id',
+                3 => 'visibility|viewer_id',
+                4 => 'acting_uid',
+                5 => 'templates|und|template',
+                6 => 'grouping|templates|und|template',
               ),
             ),
           ),
-          '#type' => 'action',
         ),
+        '#version' => 6003,
       ),
-      '#version' => 6003,
-    ),
-  );
+    );
+
 }
 
 /**
