AdguardTeam/FiltersCompiler

Add a new @include directive option to remove redundant rules.

jellizaveta opened this issue · 0 comments

There are redundant rules in cname lists, such as the tracker list:

||www.1016.lookinews.com^
||1016.lookinews.com^

The first rule can be removed, as the second is more widely applicable, and the lists will become a bit more compact.
Suggestion for implementation: add cname lists not to the AG Filters repository, but to the FiltersRegistry with a modifier that will select the more general rule and remove the redundant ones.