EU reaches agreement on proposed telecom rules