spec_rule_targets function

Specify targets following a set of rules