Cleanup rules parsing code a bit
Replace url with url object?
cope with relative urls
make absolute based on url of document we're examining.
Fill in .type from filename extension
Implement tag
Implement .path = "/start/of/path/" (path starts with that)