List<ServiceDefinition> services = new ArrayList<ServiceDefinition>();
ServiceDefinition service = new ServiceDefinition("S1");
//service.addWatches("load", "CPU");
service.addWatches("load");
services.add(service);
RuleDefinition rule = new RuleDefinition("ScalingRuleHandler");
ruleMap.addRuleMapping(rule, services.toArray(new ServiceDefinition[services.size()]));
return ruleMap;
}