Support root matching as defined in spec v0.4
Merge pull request #13 from clue-labs/root

Support root matching as defined in spec v0.4