Add grammar definition to prompt