public function getRules(TagCollection $tags)
	{
		$tagInspectors = $this->getTagInspectors($tags);

		return [
			'root' => $this->generateRootRules($tagInspectors),
			'tags' => $this->generateTagRules($tagInspectors)
		];
	}
public function getRules(TagCollection $tags)
	{
		$tagInspectors = $this->getTagInspectors($tags);

		return [
			'root' => $this->generateRootRules($tagInspectors),
			'tags' => $this->generateTagRules($tagInspectors)
		];
	}
public function getRules ( TagCollection $ tags ) { $ tagInspectors = $ this -> getTagInspectors ( $ tags ) ; return [ 'root' => $ this -> generateRootRules ( $ tagInspectors ) , 'tags' => $ this -> generateTagRules ( $ tagInspectors ) ] ; }
Generate rules for given tag collection

@param  TagCollection $tags Tags collection
@return array
Generate rules for given tag collection