rulesPanel.setBorder(new TitledBorder(null, _("Rules"),
TitledBorder.LEADING, TitledBorder.TOP, null, null));
rulesPanel.setLayout(new MigLayout("", "[]", "[]"));
add(rulesPanel, "cell 2 1,grow");
Expansion prev = Expansion.BASIC;
for (CustomRule rule : CustomRule.values()) {
if (rule == CustomRule.RANDOM_SEATING_ORDER) continue;
if (prev != rule.getExpansion()) {
prev = rule.getExpansion();
JLabel label = new JLabel(prev.toString());
label.setFont(FONT_RULE_SECTION);
rulesPanel.add(label, "wrap, growx, gaptop 10, gapbottom 7");
}
JCheckBox chbox = createRuleCheckbox(rule, mutableSlots);
rulesPanel.add(chbox, "wrap");