infer incoming rels from event decls