Introduction into Rules DSL

Rules DSL can do this. All those structures are really just using the Java core classes. However, usually when one is trying to do this one is probably doing something in a way that the Rules DSL doesn’t like. The Rules DSL is very opinionated in how it wants you to code Rules. When you fight against that things get difficult for you.

Honestly, you may know enough about programming where adapting to Rules DSL may not be worth the effort for you to do. Instead you will probably be happier over all using JSR223 Rules. This will let you write Rules in Jython, JavaScript, or Groovy.

The best you will get are the Design Pattern postings.

No, and this is one of the things programmers have the biggest problem with the Rules DSL. It is designed first and foremost to process events. What data processing it is good at supporting is primarily through processing members of Groups. See Design Pattern: Working with Groups in Rules.

The Design Pattern posts.

While the Rules DSL is based on these and share much in common with them, it really is a Domain Specific Language and has many differences and limitations.

And now I see that everyone else has already said all of the above. I’ll second what everyone else said. :wink:

1 Like