drop semicolon from last rule