The Riesz “rising sun” lemma for arbitrary Borel measures with some applications