private fun generateFinalAllowRules(tempAllowRules: Set<NodeAllowRule>, allowAllNodeDefinitions: Set<NodeDefinition>): Set<NodeAllowRule>
Takes a temporary set of NodeAllowRule and a set of allow all NodeDefinitions and creates the final set of NodeAllowRules
Return
the transformed tempAllowRules and a new NodeAllowRule generated based on allowAllNodeDefinitions (if necessary)
Parameters
tempAllowRules
already existing NodeAllowRules, merged by NodeAllowRule.allowRule
allowAllNodeDefinitions
used to create a new NodeAllowRule without a NodeAllowRule.allowRule