add browser api rules