add name and title to ol.style.Rule