[JBRULES-3676] revert randomly generated class names for java consequences
(cherry picked from commit 3fd1197f7f14d6ac2856477b8812fe13d5ba7015)