[rules-users] ClassCastException caused by generated java code?!