GUVNOR-2143: Guided rule editor: Corrupting field names and parsing DRL incorrectly

(cherry picked from commit 7fb5dc69bd2d18e7816562124e36011523d2c90b)