-Removed dead look-ahead related code.
-Relaxed the rules for restricted sorts, in combination with scopes.
-Cleaned up some left over code.
-Removed the unnecessary IParser interface.
-Removed unnecessary check.