function batchresults  = filterBatchresults(batchresults,varargin)

args = size(varargin,2)/2;

for i = 1:args
    batchresults  = extractInfoFromBatchresults(batchresults,varargin{i*2-1},varargin{i*2});
end