index.js
function isRuleScopable(rule){

    if(rule.parent.type !== 'root') {
        if (rule.parent.type === 'atrule' && conditionalGroupRules.indexOf(rule.parent.name) > -1){
            return true;
        }
        else {
            return false;
        }
    }

    else {
        return  true;
    }

}
function isRuleScopable(rule){

    if(rule.parent.type !== 'root') {
        if (rule.parent.type === 'atrule' && conditionalGroupRules.indexOf(rule.parent.name) > -1){
            return true;
        }
        else {
            return false;
        }
    }

    else {
        return  true;
    }

}
function isRuleScopable ( rule ) { if ( rule . parent . type !== 'root' ) { if ( rule . parent . type === 'atrule' && conditionalGroupRules . indexOf ( rule . parent . name ) > - 1 ) { return true ; } else { return false ; } } else { return true ; } }
Determine if rule should be scoped

@param {rule} rule
Determine if rule should be scoped