Logarithmize rule probabilities when reading the grammar.