public function setRules(array $aRules) {
		$this->aRules = array();
		foreach ($aRules as $rule) {
			$this->addRule($rule);
		}
	}
public function setRules(array $aRules) {
		$this->aRules = array();
		foreach ($aRules as $rule) {
			$this->addRule($rule);
		}
	}
public function setRules ( array $ aRules ) { $ this -> aRules = array ( ) ; foreach ( $ aRules as $ rule ) { $ this -> addRule ( $ rule ) ; } }
Override all the rules of this set.
@param array $aRules The rules to override with.
Override all the rules of this set .