<ruleset name="Generalitat of Catalonia (partial)" platform="mixedcontent">

	<target host="gencat.cat"/>
	<target host="*.gencat.cat"/>

	<securecookie host="^(.*[^0]*\.)?gencat\.cat$" name=".*"/>

	<rule from="^http://(www\.)?gencat\.cat/"
		to="https://$1gencat.cat/"/>

	<rule from="^http://www20\.gencat\.cat/(doc|portal/template)s/"
		to="https://www20.gencat.cat/$1s/"/>

</ruleset>
