this can all be made much simpler like this:
```
		return array(
			array('module.add', array('acp', 'ACP_CAT_DOT_MODS', 'ACP_BOARDRULES')),
			array('module.add', array(
				'acp', 'ACP_BOARDRULES', array(
					'module_basename'	=> '\phpbb\boardrules\acp\boardrules_module',
					'modes'				=> array('settings', 'manage'),
				),
			)),
		);
```