array( 'custom' => array( 'rule' => array('custom', '.*'), 'allowEmpty' => true, 'required' => false, 'message' => 'Post title is required' ), 'between' => array( 'rule' => array('lengthBetween', 5, 15), 'message' => array('You may enter up to %s chars (minimum is %s chars)', 14, 6) ) ), 'body' => array( 'first_rule' => array( 'rule' => array('custom', '.*'), 'allowEmpty' => true, 'required' => false, 'message' => 'Post body is required' ), 'second_rule' => array( 'rule' => array('custom', '.*'), 'allowEmpty' => true, 'required' => false, 'message' => 'Post body is super required' ) ), ); }