Move blob specific rule matching stuff to blobs.