public void updateThrottlingRules(String ruleContent) throws Exception {
// updating the rule content
boolean updateSuccess = false;
UserRegistry systemRegistry = Util.getSuperTenantGovernanceSystemRegistry();
try {
systemRegistry.beginTransaction();
Resource ruleContentResource = systemRegistry.get(StratosConstants.THROTTLING_RULES_PATH);
ruleContentResource.setContent(ruleContent);
systemRegistry.put(StratosConstants.THROTTLING_RULES_PATH, ruleContentResource);
List<Task> tasks = Util.getTasks();