diff --git a/src/chrome/content/rules/Baidu.xml b/src/chrome/content/rules/Baidu.xml
index 5f25b5fb375f..660ad7e5c0bd 100644
--- a/src/chrome/content/rules/Baidu.xml
+++ b/src/chrome/content/rules/Baidu.xml
@@ -1,6 +1,5 @@
-
-
-
-
-
-
-
-
-
diff --git a/src/chrome/content/rules/bdstatic.com.xml b/src/chrome/content/rules/bdstatic.com.xml
index 1b86f659af64..6d474361d4f8 100644
--- a/src/chrome/content/rules/bdstatic.com.xml
+++ b/src/chrome/content/rules/bdstatic.com.xml
@@ -1,20 +1,17 @@
-
-
-
-
-
-
@@ -40,12 +37,18 @@
+
+
+
+
+
+
@@ -53,10 +56,13 @@
+
+
+