Restriction is incomplete without its direction. One construction limits the attributes predicated of a subject; the other limits the persons or things to which an attribute applies.
TypeQuestionExample meaning
Subject to attributeWhich quality of Zayd?Zayd is a writer, not a poet (within the contrast)
Attribute to subjectWho is inside the house?Only Zayd is there
Practical procedure: identify the subject and predicate, then ask along which axis other possibilities are excluded. Simply translating the clause with “only” is not yet a complete rhetorical analysis.