title: Unable to import Quality Profile Ruleset in Sonar 5.2
body: <p>I have a backup of ruleset from Sonar 3.7.x and want to import into Sonar 5.2. This ruleset has rules for PMD, CheckStyle and Findbugs. When I try through GUI the import works without any error but no rules are imported (0 rules). Then I tried the Sonar API to import the ruleset using curl. Here also the command succeeds although the results (ruleFailures:600) show that no rules out of the 600 in the XML were imported (same behavior as the GUI).</p>
  
  <pre><code>-bash-4.1$ curl -X POST -u admin:admin -F "backup=@My_standard_java_600.xml" -v http://XX.XX.40.70:9080/api/profiles/restore
  * About to connect() to XX.XX.40.70 port 9080 (#0)
  * Trying XX.XX.40.70... connected
  * Connected to XX.XX.40.70 (XX.XX.40.70) port 9080 (#0)
  * Server auth using Basic with user 'admin'
  &gt; POST /api/profiles/restore HTTP/1.1
  &gt; Authorization: Basic YWRtaW46YWRtaW4=
  &gt; User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.14.3.0 zlib/1.2.3 libidn/1.18 libssh2/1.4.2
  &gt; Host: XX.XX.40.70:9080
  &gt; Accept: */*
  &gt; Content-Length: 105883
  &gt; Expect: 100-continue
  &gt; Content-Type: multipart/form-data; boundary=----------------------------b413fb6533eb
  &gt;
  &lt; HTTP/1.1 100 Continue
  &lt; HTTP/1.1 200 OK
  &lt; Server: Apache-Coyote/1.1
  &lt; Set-Cookie: JSESSIONID=CE9FC5FE32939BE5ECC4FC64324B238D; Path=/; HttpOnly
  &lt; X-Runtime: 16162
  &lt; ETag: "c48a79cd01c8066aa814d5755e0c29ed"
  &lt; Cache-Control: private, max-age=0, must-revalidate
  &lt; X-Frame-Options: SAMEORIGIN
  &lt; X-XSS-Protection: 1; mode=block
  &lt; X-Content-Type-Options: nosniff
  &lt; Content-Type: application/json;charset=utf-8
  &lt; Content-Length: 194
  &lt; Date: Wed, 02 Dec 2015 15:16:15 GMT
  &lt;
  * Connection #0 to host XX.XX.40.70 left intact
  * Closing connection #0
  {"profile":{"key":"java-my-standard-63451","name":"My Standard","language":"java","isDefault":false,"isInherited":false,"languageName":"Java"},"ruleSuccesses":0,"ruleFailures":600}
  </code></pre>
  
  <p>I compared the Sonar-way Java rule export with my file and I don't find that the XML format may have changed from v3.x to 5.x. Can any Sonar expert please help troubleshoot this issue?</p>