add ast for filter matches
register interests in different message types