I believe the answer is: D. . rules by which we derive meaning from sounds.
In general, semantics is divided into two major categories.
The first one is Logical semantics, which include deriving meanings from words/sounds using the implications of those words/sounds.
The second one is lexical semantics, which include deriving meanings from words/sounds by analyzing the relationship beetween those words/sounds.