added the AnFilterTerm class