A limit to the rate of ultra high energy gamma-rays in the primary cosmic radiation