Moved group & rank config to core.
Fixes #759