federationMapConfig.systems.add(config);
}
for (FederatedServiceMap map : localClient.listItems(FederatedServiceMap.class)) {
FederationRule rule = new FederationRule();
rule.target = map.getTarget();
rule.serviceType = map.getServiceType();
federationMapConfig.rules.add(rule);
}