Support dynamic node injection in pattern

* Nodes declared in config file can be dynamically injected into
pattern if they have been referenced.
* Add 'PDS' node to the list of injectable node.