public function setData($element)
	{
		$rules = $this->processRules($element);

		$this->ruleProvider->setData($rules);

		return $this;
	}
public function setData($element)
	{
		$rules = $this->processRules($element);

		$this->ruleProvider->setData($rules);

		return $this;
	}
public function setData ( $ element ) { $ rules = $ this -> processRules ( $ element ) ; $ this -> ruleProvider -> setData ( $ rules ) ; return $ this ; }
Adds some processing to turn input objects into arrays of validation rules

@param Form|Fieldset|Input $element

@return self
Adds some processing to turn input objects into arrays of validation rules