BZ-1080857 - Guided rule editor fails to open rules that use fields from fields whose type is not imported

(cherry picked from commit 340d24ca52f641e155aca4c633e70b810e2072c1)
BZ-Guided rule editor fails to open rules that use fields from fields whose type is not imported

(cherry picked from commit 55ac9fdbb90eb6552f561d4c384acab016b68fef)