array ( 'rules' => array ( 'rules_4' => array ( '#type' => 'rule', '#set' => 'event_node_view', '#label' => 'uc_order', '#active' => 1, '#weight' => '0', '#categories' => array ( ), '#status' => 'custom', '#conditions' => array ( 0 => array ( '#weight' => 0, '#info' => array ( 'label' => 'Check a truth value', 'arguments' => array ( 'boolean' => array ( 'type' => 'boolean', 'label' => 'Truth value', ), ), 'module' => 'Rules', ), '#name' => 'rules_condition_check_boolean', '#settings' => array ( 'boolean' => '', '#eval input' => array ( 'rules_input_evaluator_php' => array ( 'boolean' => array ( 0 => 'page', ), ), ), ), '#type' => 'condition', ), ), '#actions' => array ( 0 => array ( '#weight' => 0, '#type' => 'action', '#settings' => array ( 'order_id' => '1', '#argument map' => array ( 'uc_order' => 'uc_order', ), ), '#name' => 'uc_order_rules_action_load_order', '#info' => array ( 'label' => 'Load order by ID', 'new variables' => array ( 'uc_order' => array ( 'type' => 'uc_order', 'label' => 'loaded ubercart order', ), ), 'module' => 'Ubercart order', ), ), 1 => array ( '#info' => array ( 'label' => 'Add a comment to the order', 'arguments' => array ( 'order' => array ( '#entity' => 'uc_order', 'label' => 'Order', ), ), 'module' => 'Ubercart order', ), '#name' => 'uc_order_rules_action_add_comment', '#settings' => array ( 'comment_type' => 'admin', 'comment' => 'Rules rules!', '#argument map' => array ( 'order' => 'uc_order', ), ), '#type' => 'action', '#weight' => 0, ), ), ), ), )