Hi list, 
I have a layer (geo resource based on a shape file)   with point elements and I want them symbolized by different symbols. The   grouping is based on an attribute (given by the db file). I have read how   it looks like in the SLD xml with the ogc:filter elements and its children   but I have no idea how to realize the right filter for <ogc: PropertyIsEqualTo> 
 
I guess I have to do this: For every group I generate the org.geotools.styling.Rule with PointSymbolizer and perhaps TextSymbolizer and then I have to add a filter with rule.setFilter(Filter filter). The Filter I have to generate with FilterFactoryFinder.createFilterFactory().create... but which kind of filter? Is it an attributeExpression (since I want to filter one of the attributes) or a Logic Filter? 
 
Finally I have one rule for each value and then I generate the FeatureTypeStyle based on these rules. 
 
I need help with the filter. The attribute is called "objecttype" and the attribute values are characters. 
 
Thank you! 
 
tony roth