<ruleset name="NationalArchivesGovUK">
  <target host="nationalarchives.gov.uk"/>
  <target host="www.nationalarchives.gov.uk"/>

  <securecookie host="^(.+\.)?nationalarchives\.gov\.uk$" name=".*"/>

  <rule from="^http://(?:www\.)?nationalarchives\.gov\.uk/" to="https://www.nationalarchives.gov.uk/"/>
</ruleset>
