use for_each for rule37