A complex event processing engine with sharing calculation of conditions among queries | Synapse