Add error label for RelationshipDetail rule

Fixes #1297