[rubis] (new:major) Added population of categories and regions.

[rubis] (bug-fix:minor) Added minId (instead of subtract) to compute maxId.