Added the code that creates the target filtering FSA.