Issue #2148823 by mxlav: Rules disappearing when updated.