With sling pipes you can build your ruleset declarative (with a node structure) instead of coding. Of course you have other options as well, and Sling Pipes ist just a nice and interesting approach to define such rules. Of course you can do the very same with Groovy or other technologies.
Jörg