Fix for #772616, include the rewrite above the default drupal one. Also wrap backupmigrate rewrite in IfModule tags