DROOLS-289: PackageBuilder throws NPE when a declared class extends anot...

...her, undeclared one

	- Fixed problem with multiple resources declaring the same rule and a Type Declaration.