added latest JRuby support, begain porting Ruby policy evaluation code
and DSL support