Add schema to the rulebase structure.