mv to runtime. damn git!
Merge pull request #360 from parrt/master

mv to runtime. damn git! Seems that it might delete but not move files. hmm...
merge upstream
Merge branch 'master' into tree-patterns
added state to be consistent with enterRule(); most importantly, we need to set the state when we enter a recursive rule, which we are not doing at the moment. This was not a problem before because we never could directly call a recursive rule and the outer rule set the current state. Now that we are using recursive rules as start rules, we need to set the state.