Fixes #4771: Rule grid, now stored as Json