[#AHFILTER-1: added pattern setting, test and context]