private void updatePageSize() {
        final TableComponentSettings tableComponentSettings = getTableComponentSettings();
        final int start = dataGrid.getVisibleRange().getStart();
        dataGrid.setVisibleRange(new Range(
                start,
                NullSafe.getOrElse(tableComponentSettings, TableComponentSettings::getPageSize, 100)));
    }
Fix for old rules that contained duplicate rule ids.

@param rules The rule list to fix.
stroom-core-client/src/main/java/stroom/dashboard/client/table/TablePresenter.java