Lexical-syntactic rules can be automatically extracted from plain corpora (e.g., (Lin and Pantel, 2001;Szpektor and Dagan, 2008)) but the quality (also in terms of little noise) and the coverage is low.
rules written at the semantic level are more accurate but their automatic design is difficult and so they are typically hand-coded for the specific phenomena.