Add tests for named parameters in rule.