Method to create and EventSpecification from and Event.
Implement equalities on the EventSpecification class.