fix crash on rule consequence error