Run Afoul Of Meaning

(idiomatic) To contravene

Example:   When quoting others, take care not to run afoul of copyright rules.