Fix sample rule for filter