So you are essentially asking for a goto
statement. No goto
is not supported in Rules DSL or hardly any modern programming language. But there are lots of different standard programming constructs that should be used instead:
- switch statements with fall through
- functions
- restructuring the rule (see Design Pattern: How to Structure a Rule) to simplify the logic (e.g. fail fast)
- breaking the logic into multiple rules
And of course all of these could be combined.
Which is best? You don’t show the rule.