support serialization of TRule with boost serialization