array ( 'rules' => array ( 'rules_14' => array ( '#type' => 'rule', '#set' => 'event_node_update', '#label' => 'Republish Published Content after Moderator Editing', '#active' => 1, '#weight' => '5', '#categories' => array ( 0 => 'Moderation', ), '#status' => 'custom', '#conditions' => array ( 0 => array ( '#weight' => 0, '#type' => 'condition', '#settings' => array ( 'text1' => '[node:workflow-current-state-name]', 'text2' => 'live - viewable to all, authors and moderators can make new revisions', 'regex' => 0, '#eval input' => array ( 'token_rules_input_evaluator' => array ( 'text1' => array ( 0 => 'node', ), ), ), ), '#name' => 'rules_condition_text_compare', '#info' => array ( 'label' => 'Textual comparison of Workflow value for Live - Published Workflow State', 'label callback' => false, 'arguments' => array ( 'text1' => array ( 'label' => 'Text 1', 'type' => 'string', ), 'text2' => array ( 'label' => 'Text 2', 'type' => 'string', ), ), 'module' => 'Rules', ), ), 1 => array ( '#weight' => 0, '#info' => array ( 'label' => 'User has role(s)', 'arguments' => array ( 'user' => array ( 'type' => 'user', 'label' => 'User', ), ), 'module' => 'User', ), '#name' => 'rules_condition_user_hasrole', '#settings' => array ( 'roles' => array ( 0 => 24, 1 => 29, 2 => 25, 3 => 30, 4 => 28, 5 => 31, 6 => 32, 7 => 27, 8 => 9, 9 => 18, ), 'operation' => 'OR', '#argument map' => array ( 'user' => 'user', ), ), '#type' => 'condition', ), ), '#actions' => array ( 0 => array ( '#weight' => 0, '#type' => 'action', '#settings' => array ( 'auto_save' => 0, '#argument map' => array ( 'node' => 'node', ), ), '#name' => 'rules_core_revisioning_publish_latest_revision_action', '#info' => array ( 'module' => 'Node', 'arguments' => array ( 'node' => array ( 'label' => 'Content', 'type' => 'node', ), ), 'label' => 'Publish the most recent pending revision', 'base' => 'rules_core_action_execute', 'action_name' => 'revisioning_publish_latest_revision_action', 'configurable' => false, ), ), ), ), ), 'rule_sets' => array ( ), )