array ( 'rules' => array ( 'rules_6' => array ( '#type' => 'rule', '#set' => 'event_node_presave', '#label' => 'Promote To Front Page', '#active' => 1, '#weight' => '0', '#categories' => array ( 0 => 'Moderation', ), '#status' => 'custom', '#conditions' => array ( 0 => array ( '#weight' => 0, '#settings' => array ( 'field_name' => 'field_promote_to_front_page', '#argument map' => array ( 'node' => 'node_unchanged', ), 'value' => array ( 0 => array ( 'value' => 'off', ), ), 'code' => '', 'vars' => array ( ), ), '#type' => 'condition', '#name' => 'content_rules_field_has_value', '#info' => array ( 'label' => 'Saved content\'s field \'field_promote_to_front_page\' is not not checked', 'label callback' => false, 'arguments' => array ( 'node' => array ( 'type' => 'node', 'label' => 'Content', ), ), 'eval input' => array ( 0 => 'code', 1 => 'value|0|value', ), 'module' => 'CCK', ), '#negate' => 1, ), ), '#actions' => array ( 0 => array ( '#weight' => 0, '#type' => 'action', '#settings' => array ( 'auto_save' => 1, '#argument map' => array ( 'node' => 'node', ), ), '#name' => 'rules_core_node_promote_action', '#info' => array ( 'label' => 'Promote saved content to front page', 'label callback' => false, 'module' => 'Node', 'arguments' => array ( 'node' => array ( 'label' => 'Content', 'type' => 'node', ), ), 'base' => 'rules_core_action_execute', 'action_name' => 'node_promote_action', 'configurable' => false, ), ), ), ), 'rules_7' => array ( '#type' => 'rule', '#set' => 'event_node_presave', '#label' => 'Make node sticky', '#active' => 1, '#weight' => '0', '#categories' => array ( 0 => 'Moderation', ), '#status' => 'custom', '#conditions' => array ( 0 => array ( '#negate' => 1, '#type' => 'condition', '#settings' => array ( 'field_name' => 'field_sticky', '#argument map' => array ( 'node' => 'node_unchanged', ), 'value' => array ( 0 => array ( 'value' => 'off', ), ), 'code' => '', 'vars' => array ( ), ), '#name' => 'content_rules_field_has_value', '#weight' => 0, '#info' => array ( 'label' => 'Unchanged content\'s field \'field_sticky\' is checked', 'label callback' => false, 'arguments' => array ( 'node' => array ( 'type' => 'node', 'label' => 'Content', ), ), 'eval input' => array ( 0 => 'code', 1 => 'value|0|value', ), 'module' => 'CCK', ), ), ), '#actions' => array ( 0 => array ( '#weight' => 0, '#info' => array ( 'label' => 'Make saved content sticky', 'label callback' => false, 'module' => 'Node', 'arguments' => array ( 'node' => array ( 'label' => 'Content', 'type' => 'node', ), ), 'base' => 'rules_core_action_execute', 'action_name' => 'node_make_sticky_action', 'configurable' => false, ), '#name' => 'rules_core_node_make_sticky_action', '#settings' => array ( 'auto_save' => 1, '#argument map' => array ( 'node' => 'node', ), ), '#type' => 'action', ), ), ), 'rules_8' => array ( '#type' => 'rule', '#set' => 'event_node_presave', '#label' => 'Demote From Front Page', '#active' => 1, '#weight' => '0', '#categories' => array ( 0 => 'Moderation', ), '#status' => 'custom', '#conditions' => array ( 0 => array ( '#type' => 'condition', '#settings' => array ( 'field_name' => 'field_promote_to_front_page', '#argument map' => array ( 'node' => 'node_unchanged', ), 'value' => array ( 0 => array ( 'value' => 'off', ), ), 'code' => '', 'vars' => array ( ), ), '#name' => 'content_rules_field_has_value', '#info' => array ( 'label' => 'Saved content\'s field \'field_promote_to_front_page\' is not checked', 'label callback' => false, 'arguments' => array ( 'node' => array ( 'type' => 'node', 'label' => 'Content', ), ), 'eval input' => array ( 0 => 'code', 1 => 'value|0|value', ), 'module' => 'CCK', ), '#weight' => 0, ), ), '#actions' => array ( 0 => array ( '#weight' => 0, '#type' => 'action', '#settings' => array ( 'auto_save' => 1, '#argument map' => array ( 'node' => 'node', ), ), '#name' => 'rules_core_node_unpromote_action', '#info' => array ( 'label' => 'Remove saved saved content from front page', 'module' => 'Node', 'arguments' => array ( 'node' => array ( 'label' => 'Content', 'type' => 'node', ), ), 'base' => 'rules_core_action_execute', 'action_name' => 'node_unpromote_action', 'configurable' => false, 'label callback' => 'rules_core_node_label_callback', ), ), ), ), 'rules_9' => array ( '#type' => 'rule', '#set' => 'event_node_presave', '#label' => 'Make node unsticky', '#active' => 1, '#weight' => '0', '#categories' => array ( 0 => 'Moderation', ), '#status' => 'custom', '#conditions' => array ( 0 => array ( '#settings' => array ( 'field_name' => 'field_sticky', '#argument map' => array ( 'node' => 'node_unchanged', ), 'value' => array ( 0 => array ( 'value' => 'off', ), ), 'code' => '', 'vars' => array ( ), ), '#type' => 'condition', '#name' => 'content_rules_field_has_value', '#info' => array ( 'label' => 'Unchanged content\'s field \'field_sticky\' is not checked', 'label callback' => false, 'arguments' => array ( 'node' => array ( 'type' => 'node', 'label' => 'Content', ), ), 'eval input' => array ( 0 => 'code', 1 => 'value|0|value', ), 'module' => 'CCK', ), '#weight' => 0, ), ), '#actions' => array ( 0 => array ( '#weight' => 0, '#info' => array ( 'label' => 'Make saved saved content unsticky', 'module' => 'Node', 'arguments' => array ( 'node' => array ( 'label' => 'Content', 'type' => 'node', ), ), 'base' => 'rules_core_action_execute', 'action_name' => 'node_make_unsticky_action', 'configurable' => false, 'label callback' => 'rules_core_node_label_callback', ), '#name' => 'rules_core_node_make_unsticky_action', '#settings' => array ( 'auto_save' => 1, '#argument map' => array ( 'node' => 'node', ), ), '#type' => 'action', ), ), ), ), 'rule_sets' => array ( ), )