code: function styleRuleValueFrom(selector, documentStyleRules) {
    for (var j = 0; j < documentStyleRules.length; j++) {
      if (documentStyleRules[j].selectorText && documentStyleRules[j].selectorText.toLowerCase() === selector) {
        return documentStyleRules[j].style;
      }
    }
  }
docs: Get Style Rule from a specified element
  @param {String} selector from element
  @param {Array} Document Style Rules
  @returns {Object} Merged values of defaults and options