#created on: 2009-01-13
package amg.gg.test.droolstest6

#list any import classes here.
import com.sample.DroolsTest6.Fact;
import org.example.myBean.MyBean;
import com.sample.DroolsTest6.FactSource;

#declare any global variables here
global FactSource factSource;

rule "pre rule"
	salience 1100
	when
		eval(true)
	then
		System.out.println(factSource);
end

rule "My Rule 1"
	salience 1000
	when
		$fact : Fact(  ) from factSource.getSomeFacts("a","b","c")
	then
		System.out.println(">>> My Rule 1");
		System.out.println($fact);
end

/*
rule "My Rule 2"
	when
		$factSrc : FactSource(  )
		$fact : Fact(  ) from $factSrc.getSomeFacts("a","b","c")
	then
		System.out.println(">>> My Rule 1");
		System.out.println($fact);
end
*/