Add a filter rule when capturing packets