Enhance rule matching. Add Stylsheet