Optimized way to cover multiple combinations within one input column

Hello All,
currently I am looking for a solution on how I can enter the combination of input in a optimized way in the dmn.
use case : as an input to column A , I want to write the combination considering 10 items ranging from input A1…A10. The combination for example can be ,

  1. A1 alone , A2 alone and so on
  2. A1+A2 , A1+A3 and so on
    So as of now by using the mathematical logic of nCr there are multiple combination inputs I have to write which complexes the design and is being hard for maintenance. Need guidance on the same.
    Thank you in advance.

I think you can perhaps look into using different hit policies for your table.
This can drastically change how you design the rules.

You can also look into implementing this using literal expressions or more complex FEEL expressions. Take a look at these docs for more understand more about the possibilities

Thank you for your quick support , this works for me.