assertEquals( "rule1",
m.name );
assertEquals( 2,
m.lhs.length );
IPattern p0 = m.lhs[ 0 ];
assertTrue( p0 instanceof FactPattern );
FactPattern fp0 = (FactPattern) p0;
assertEquals( "IncomeSource",
fp0.getFactType() );
assertEquals( "$is",
fp0.getBoundName() );
IPattern p1 = m.lhs[ 1 ];
assertTrue( p1 instanceof FactPattern );
FactPattern fp1 = (FactPattern) p1;
assertEquals( "Applicant",
fp1.getFactType() );