Fix multi sample reorderer.
Speed up reordering by filtering unappliable grammar rules.
Improve grammar filtering.