Renamed Schema -> Rule, comps -> rules. rules now generates the IDB directly