Hello All,

I am working on Drools Rules and need help on the below problem:

In my .drl file say:
rule
when
    Object1(......)
    Object2(......)
then
   
end;


Is there a way(Drools API or any method) in which I can scan through my rules files and get the objects...say Object1 and Object2.

In a way I want to introspect the when condition objects.

If anyone has any idea,please let me know.

Thanks,
Kinjal