record file numbers for rules

The file numbers of repository, branches/tags, and content are recorded
and stored in the Match objects. This information is not used in any way yet.