Added check that the output path for rules generation is not null.
Fix to handle wild carded package names in the reflect package name rule