[rules-dev] Dealing with null pointer exceptions thrown by parsing rules