rule "Cheesery contains stilton"
   when
       stilton : Cheese( type == "stilton" )
       Cheesery( cheeses contains stilton )
   then
       list.add( stilton );
end

Reply via email to