@ruiting, will this be done in relex-to-logic.scm or some place else?