Add error label for RelationshipDetail rule

Fixes #1297
Merge pull request #1300 from cleishm/error_labels

Add error label for RelationshipDetail rule