diff --git a/html/ajax_rulesuggest.php b/html/ajax_rulesuggest.php
index cee773a2fc..850658939a 100644
--- a/html/ajax_rulesuggest.php
+++ b/html/ajax_rulesuggest.php
@@ -62,7 +62,7 @@ function levsort($base, $obj) {
}
-
+header('Content-type: application/json');
$obj = array(array('name' => 'Error: No suggestions found.'));
$term = array();
$current = false;