Rule-engine: support older compilers