210
210
if (ref($sentence[$pos]) eq 'GenTest::Grammar::Rule') {
211
211
splice (@sentence, $pos, 1 , map {
213
220
# Check if we just picked a grammar rule. If yes, then return its Rule object.
214
221
# If not, use the original literal, stored in $_
216
223
if (exists $grammar_rules->{$_}) {