Groovy Rule Loop

Hi Rich,
Thanks for the support! I modify the example and is working great.
Best Regards