public function prepareValidator(\Asgard\Validation\ValidatorInterface $validator) {
		if(isset($this->params['validation'])) {
			$validation = $this->params['validation'];
			foreach($validation as $name=>$params) {
				if(is_integer($name)) {
					$name = $params;
					$params = [];
				}
				if($name === 'required')
					$name = 'ormrequired';
				$validator->rule($name, $params);
			}
		}
	}