We strongly advise to use policies instead of single rule based changes to limit the size of the configuration. A list of all manual changes can be revised in the policy editor
var d = $.Deferred(), prom = d.promise(), times = 0;d.resolve();$('#rules tr[data-row-id]').each((i, r) => { if(times < 0) return; prom = prom.then(function() { return $.post('/api/ids/settings/delPolicyRule/' + $(r).attr('data-row-id')).promise(); } ); times++; if(times > 100000) { times = -1; prom = prom.then($.post('/api/ids/service/reconfigure').promise()); return; }});prom = prom.then(function() { return $.post('/api/ids/service/reconfigure').promise(); });