for (int x = 0; x < filterFeatures.length; x++) {
String featureName = filterFeatures[x].getFeaturePath();
String featureValue = filterFeatures[x].getStringValue();
// create new filter feature and add them to the rule
FilterFeature filterFeature = new FilterFeature_impl(
featureName, featureValue);
rule.addFilterFeature(filterFeature);
}
}
// ***********************************************