Tools: DFG: Add Rekursive device attribute getter.
Tools: DFG: Add 'none' to type for explicit matching.
Tools: DFG: Move tree modification code to base class.
Add some wrapper and helper methods.