array ( 'rules' => array ( 'rules_1' => array ( '#type' => 'rule', '#set' => 'event_node_limitnumber_check_limit', '#label' => 'Authenicated Users create only 5 pages', '#active' => 1, '#weight' => '0', '#categories' => array ( ), '#status' => 'custom', '#conditions' => array ( 0 => array ( '#weight' => 0, '#info' => array ( 'label' => 'Node is Page', 'arguments' => array ( 'node' => array ( 'type' => 'node', 'label' => 'Content', ), ), 'module' => 'Node', ), '#name' => 'rules_condition_content_is_type', '#settings' => array ( 'type' => array ( 'page' => 'page', ), '#argument map' => array ( 'node' => 'node', ), ), '#type' => 'condition', ), 1 => array ( '#weight' => 0, '#type' => 'condition', '#settings' => array ( 'roles' => array ( 0 => 2, ), 'operation' => 'OR', '#argument map' => array ( 'user' => 'user', ), ), '#name' => 'rules_condition_user_hasrole', '#info' => array ( 'label' => 'User has role(s)', 'arguments' => array ( 'user' => array ( 'type' => 'user', 'label' => 'User', ), ), 'module' => 'User', ), ), 2 => array ( '#type' => 'condition', '#settings' => array ( 'limit' => '5', '#argument map' => array ( 'node' => 'node', 'user' => 'user', ), ), '#name' => 'node_limitnumber_rules_condition_limit', '#info' => array ( 'label' => 'Set the limit for the node type', 'module' => 'Node Limit Number', 'arguments' => array ( 'node' => array ( 'label' => 'Node', 'type' => 'node', ), 'user' => array ( 'label' => 'User', 'type' => 'user', ), ), ), '#weight' => 0, ), ), '#actions' => array ( 0 => array ( '#weight' => 0, '#info' => array ( 'label' => 'Page redirect', 'module' => 'System', 'eval input' => array ( 0 => 'path', 1 => 'query', 2 => 'fragment', ), ), '#name' => 'rules_action_drupal_goto', '#settings' => array ( 'path' => 'node', 'query' => '', 'fragment' => '', 'force' => 0, 'immediate' => 0, ), '#type' => 'action', ), 1 => array ( '#type' => 'action', '#settings' => array ( 'message' => 'You can\'t add any stories', 'error' => 0, ), '#name' => 'rules_action_drupal_message', '#info' => array ( 'label' => 'Show a configurable message on the site', 'module' => 'System', 'eval input' => array ( 0 => 'message', ), ), '#weight' => 0, ), ), '#version' => 6003, ), ), )