function addStyleRule(selector, styleString) {
    addRelatedStyleRule('global', selector, styleString);
}
for dynamically adding style rules
makes one stylesheet that contains all rules added
by all calls to this function