edit layout, check rule view, update