public function getMatchType($type, $default = null)
	{
		if (isset($this->matchTypes[$type])) {
			return $this->matchTypes[$type];
		} else if ($default !== null) {
			return $default;
		} else {
			throw new MatchTypeNotFoundExeption("Unknow match type");
		}
	}