The Design And Implementation Of A Stateful Streaming Rule Language For The Maritime Sector