Added null check for the pkg before trying to get the rule.
programlisting typo
programlisting typo
Fix typos

Only fix two small typos.
Merge pull request #374 from dadadom/master

Fix typos in logged output
GUVNOR-2122: Add support for Guided Decision Trees to the Workbench
[DROOLS-589] fix removal of a rule with a join node having the same alpha node as both right and left input
BZ-1135501 - Performance issues with WebServiceWorkItemHandler
[DROOLS-242] dump generated DRL from dtables when drools.dump.dir specified
GUVNOR-2122: Add support for Guided Decision Trees to the Workbench. Default to empty imports
Merge pull request #378 from psiroky/drools-242

[DROOLS-242] dump generated DRL from dtables when drools.dump.dir specified
Remove empty lines from generated DRL
GUVNOR-2122: Add support for Guided Decision Trees to the Workbench. Flesh our model and DRL generation.
[BZ-1138420] fix very inefficient algorithm to read a byte array from an InputStream
replace hardcoded version numbers in drools examples
set the ClassDefinition when a TypeDeclaration is created from a Java class
[DROOLS-594] fix path mask initialization when a segment as an accumulate as last node
[BZ-1135145] make KieScanner to reparse the pom.xml file of kjar at each scanning
Bugfix for DROOLS-354 and DROOLS-540 on Windows

Using WildyFly VFS, the urlPath parameter of the function is the real path to the file with no leading "/" (see method ClasspathKieProject#getPathForVFS(URL), statement String path = f.getPath();). 

Without the bugfix, the drive letter is stripped from the path creating a drive-relative path. If the rule archive is on another drive than the WildFly working directory, this leads to a NullPointerException in the method ClasspathKieProject#getPomPropertiesFromZipFile(String) (in the finally block, zipFile.close()).
Bugfix for DROOLS-354 and DROOLS-540 on Windows