adding fsa builder for later use by antlr parser.
finishing fsa rule
merge new-fsa-builder branch into master