Add classes representing the syntactic elements of Datalog.