<ruleset name="Facebook" match_rule="http:.*facebook\.">
  <target host="facebook.com" />
  <target host="*.facebook.com" />
  <target host="*.facebook.de" />
  <target host="facebook.de" />
  <target host="*.facebook.fr" />
  <target host="facebook.fr" />

  <rule from="^http://(www\.)?facebook\.com/" to="https://www.facebook.com/"/>
  <rule from="^http://m\.facebook\.com/"      to="https://m.facebook.com/"/>
  <rule from="^http://ssl\.facebook\.com/"    to="https://ssl.facebook.com/"/>
  <rule from="^http://login\.facebook\.com/"  to="https://login.facebook.com/"/>
  <rule from="^http://www\.v6\.facebook\.com/" 
          to="https://www.v6.facebook.com/"/>

  <rule from="^http://s-static\.ak\.facebook\.com/" 
          to="https://s-static.ak.facebook.com/" />

  <rule from="^http://badge\.facebook\.com/badge/"
          to="https://www.facebook.com/badge/"/>

  <rule from="^https?://(de-de|www\.)?facebook\.de/" 
          to="https://www.facebook.com/"/>
  <rule from="^https?://de-de\.facebook\.com/" 
          to="https://www.facebook.com/"/>

  <rule from="^https?://(fr-fr|www\.)?facebook\.fr/" 
          to="https://www.facebook.com/"/>
  <rule from="^https?://fr-fr\.facebook\.com/" 
          to="https://www.facebook.com/"/>
</ruleset>
