Add support for multiple rulebases loaded in a session.