if (false !== $configs) {
                if (0 != $module->getVar('hascomments')) {
                    require XOOPS_ROOT_PATH . '/include/comment_constants.php';
                    $configs[] = [
                        'name'        => 'com_rule',