private function normalizeRules(){
    	foreach($this->rules as $scope => $rules){
    		foreach($rules as $field => $rule){
    			if(is_array($rule)){
    				$this->rules[$scope][$field] = implode('|', $rule);
    			}
    		}
    	}
    }
private function normalizeRules(){
    	foreach($this->rules as $scope => $rules){
    		foreach($rules as $field => $rule){
    			if(is_array($rule)){
    				$this->rules[$scope][$field] = implode('|', $rule);
    			}
    		}
    	}
    }
private function normalizeRules ( ) { foreach ( $ this -> rules as $ scope => $ rules ) { foreach ( $ rules as $ field => $ rule ) { if ( is_array ( $ rule ) ) { $ this -> rules [ $ scope ] [ $ field ] = implode ( '|' , $ rule ) ; } } } }
turn rules array into string based to make it much easier to proccess, must be done to make building scope rules easier
turn rules array into string based to make it much easier to proccess must be done to make building scope rules easier