Base history and source rule validation on type rather than label.

Label is now stored only on the reference and used solely for reporting.
The ability to constrain which references are evaluated by each rule should be investigated further.