The RecordPredicates system seems pretty neat and I am interested in doing something similar in not that distant future. Do you still think this approach, or some aspects of it are a good enough idea to build upon?
I also read that the definition seems to be based on sepapp which I find unconvincing, and the same file also contains LiveVerif notations. The alternative I'd like to contemplate is (to_bytes field1 ++ to_bytes field2 ++ to_bytes field3)$@recordptr. But perhaps I'd become more sold if we talked about the considerations here :).