introduced events to rule adapter, integrated correct 2.9 scala version