[DROOLS-439] PackageBuilder can't find declared array class

Fixed equals on Pet fact type