Ant O’ Nim 遵守, 违反 opposite words. (against-name=anto-nym) 蚂蚁

 遵守规律Zūnshǒu guīlǜ (law)
违反规定wéifǎn guīdìng (rule)

 

遵守 zun shou means lit. to follow with respect and receive, to respect and accept, i.e. to obey
违反 wéifǎn means to violate lit. to disobey + reflect back (whether lit. or metaphoric). i.e. to violate

 It’s easier to learn words as paired opposites, with colocations and preferably with a sample sentence.

虽然我遵守规律,但是犯人违反规定.

Although I obey the law, a criminal violates the rules.