[rules-users] ClassCastException on session.insert(object)