The Design and Implementation of a Stateful Streaming Rule Language for the Maritime Sector