Fix type-stability issue in example life_rule.
Merge pull request #6858 from ArchRobison/adr/lifedoc

Fix type-stability issue in example life_rule.