Rule-based matching

Added rules.json, which contains a regex -> filename matching. Also
created the NYT example, and moved the bing example into "example"
folder (kill this later)