Hidden tokens at end of rule were missed

Now we check all tokens before the start and after the end of each rule
updated JAR