array ( 'rules' => array ( 'rules_13' => array ( '#type' => 'rule', '#set' => 'event_comment_insert', '#label' => 'Notify Node Author of Comment', '#active' => 1, '#weight' => '0', '#categories' => array ( 0 => 'comments', ), '#status' => 'custom', '#conditions' => array ( 0 => array ( '#type' => 'condition', '#settings' => array ( 'boolean' => 'uid == $node->uid ); ?>', '#eval input' => array ( 'rules_input_evaluator_php' => array ( 'boolean' => array ( 0 => 'node', 1 => 'user', ), ), ), ), '#name' => 'rules_condition_check_boolean', '#info' => array ( 'label' => 'Check a truth value ($user->uid == $node->uid )', 'label callback' => false, 'arguments' => array ( 'boolean' => array ( 'type' => 'boolean', 'label' => 'Truth value', ), ), 'module' => 'Rules', ), '#weight' => 0, '#negate' => 1, ), ), '#actions' => array ( 0 => array ( '#weight' => 0, '#info' => array ( 'label' => 'Send a mail to a user (Commented Content Author)', 'label callback' => false, 'arguments' => array ( 'user' => array ( 'type' => 'user', 'label' => 'Recipient', ), ), 'module' => 'System', 'eval input' => array ( 0 => 'subject', 1 => 'message', 2 => 'from', ), ), '#name' => 'rules_action_mail_to_user', '#settings' => array ( 'from' => '', 'subject' => '[comment_author:user] commented on [node:title-raw] at Imaginariums', 'message' => '[comment_author:user] commented your [node:title-raw]. To view their comment please go to http://imaginariums.com/[node:node-path]#comment-[comment:comment-cid]', '#argument map' => array ( 'user' => 'node_author', ), '#eval input' => array ( 'token_rules_input_evaluator' => array ( 'subject' => array ( 0 => 'comment_author', 1 => 'node', ), 'message' => array ( 0 => 'comment', 1 => 'comment_author', 2 => 'node', ), ), ), ), '#type' => 'action', ), ), '#version' => 6003, ), ), )