Israeli police say men under the age of 50 will be barred from a major Jerusalem shrine at the center of recent tensions.