private function addRule($rule, $field, $parameters, $closue = null, $message = null) {

		$this -> rules[] = (object) [

			'rule' 			=> $rule, 
			'field' 		=> $field, 
			'parameters'	=> $parameters,
			'closure'		=> $closue,
			'prefix' 		=> $this -> getPrefix(),
			'message'		=> $message,
			'required' 		=> true
		];
	}
private function addRule($rule, $field, $parameters, $closue = null, $message = null) {

		$this -> rules[] = (object) [

			'rule' 			=> $rule, 
			'field' 		=> $field, 
			'parameters'	=> $parameters,
			'closure'		=> $closue,
			'prefix' 		=> $this -> getPrefix(),
			'message'		=> $message,
			'required' 		=> true
		];
	}
private function addRule ( $ rule , $ field , $ parameters , $ closue = null , $ message = null ) { $ this -> rules [ ] = ( object ) [ 'rule' => $ rule , 'field' => $ field , 'parameters' => $ parameters , 'closure' => $ closue , 'prefix' => $ this -> getPrefix ( ) , 'message' => $ message , 'required' => true ] ; }
Add rule to validation
@param string $rule
@param string $field
@param array $parameters
Add rule to validation