Prepared game engine to support more flexible rule engine