Added a first implementation of logical operators on events