Critical parsing bugs fix
Adding precedence parsing, iteration rule and reset function