BZ-1069288 - Classes with same name break the guided rule editor if sub-fields are used

(cherry picked from commit 1a3199aebbb74ff3b62945a00d192a7ba561ef23)