Update 2 - use tree to store rules

URL check is now taking about 4 ms instead of 70 ms with StringList