private static ArchiveCompressionRule createCompressionRule(
     String cn, Conditions conditions, String tsuid, String... writeParams) {
   ArchiveCompressionRule rule = new ArchiveCompressionRule(cn);
   rule.setConditions(conditions);
   rule.setTransferSyntax(tsuid);
   rule.setImageWriteParams(Property.valueOf(writeParams));
   return rule;
 }
 @Override
 public String toConfigNode(Property object, ConfigProperty property, SavingContext ctx)
     throws ConfigurationException {
   return object.toString();
 }