Null pointer exception from null deployRules array.