Added an extra grammer rule which allows you to end if statements with {endif} as well