This research has enhanced a distributed, rule-based application integration environment with a composite event definition language (CEDL) and detection system. CEDL builds on existing composite event operators and selection modes, adding features to support the filtering of primitive and composite events. The filtering features includes basic parameter filtering on primitive and composite events, aggregate and quantifier filters on cumulative event parameters, and time filters for defining the lifetime of the composite event detection process. CEDL is supported by a composite event detection system that implements the filtering capabilities. This research contributes to the expression of more application-oriented events through the aggregation and correlation of distributed events. This paper appeared in IEEE International Conference on Software Applications on the Internet (SAINT) 2006, Phoenix, AZ, January 2006.