Don't use the bet library for the rule condition evaluation anymore, build up a abstract syntax tree that can be evaluated directly