Identifying Errors and Understanding Grammar Rules