private function generateContentRules()
	{
		$rules = array();
		$criteria = Content::model()->getBaseCriteria();
		$content = Content::model()->findAll($criteria);
		foreach ($content as $el)
		{
			if ($el->slug == NULL)
				continue;

			$pageRule = $el->slug.'/<page:\d+>';
			$rule = $el->slug;


			$pageRule = $el->slug . '/<page:\d+>';
			$rule = $el->slug;

			$rules[$pageRule] = "content/index/id/{$el->id}/vid/{$el->vid}";
			$rules[$rule] = "content/index/id/{$el->id}/vid/{$el->vid}";
		}

		return $rules;
	}