array ( 'rules' => array ( 'rules_73' => array ( '#type' => 'rule', '#set' => 'event_user_update', '#label' => 'roles test', '#active' => 1, '#weight' => '0', '#categories' => array ( ), '#status' => 'custom', '#conditions' => array ( 0 => array ( '#weight' => 0, '#negate' => 1, '#info' => array ( 'label' => 'User has role(s)', 'arguments' => array ( 'user' => array ( 'type' => 'user', 'label' => 'User', ), ), 'module' => 'User', ), '#name' => 'rules_condition_user_hasrole', '#type' => 'condition', '#settings' => array ( 'roles' => array ( 0 => 3, ), 'operation' => 'OR', '#argument map' => array ( 'user' => 'account_unchanged', ), ), ), 1 => array ( '#type' => 'condition', '#settings' => array ( 'roles' => array ( 0 => 3, ), 'operation' => 'OR', '#argument map' => array ( 'user' => 'account', ), ), '#name' => 'rules_condition_user_hasrole', '#info' => array ( 'label' => 'User has role(s)', 'arguments' => array ( 'user' => array ( 'type' => 'user', 'label' => 'User', ), ), 'module' => 'User', ), '#weight' => 0, ), ), '#actions' => array ( 0 => array ( '#type' => 'action', '#settings' => array ( 'code' => 'dsm($account); dsm($account_unchanged);', 'vars' => array ( 0 => 'account', 1 => 'account_unchanged', ), ), '#name' => 'rules_action_custom_php', '#info' => array ( 'label' => 'Execute custom PHP code', 'module' => 'PHP', 'eval input' => array ( 0 => 'code', ), ), '#weight' => 0, ), ), '#version' => 6003, ), ), )