const offers = [];
let _i = 0;
let result;
while (_i < data.length && offers.length < 10) {
result = filters.every((filter) => (filter.value === DEFAULT_VALUE) ? true : FilterRules[filter.id](data[_i], filter));
if (result) {
offers.push(data[_i]);
}
_i++;
}