'Import sonar rules into local machine from another machine

I am using Sonarqube-7.7 version. My colleague has deactivated some rules in the quality gates. But when I am importing the same rule-setup in my local and setting as Default, I can see that many rules which have been deactivated, are still activated in my machine. Please let me know if I am missing any steps? I want the exact rule-setup in my local that my colleague has sent so that I can pass the same to my team.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source