Well one thing to keep in mind that yapping dogs are actually a LOT noisier than a rooster is. Unfortunately, there are some folks in neighborhoods who will complain more about an occasional rooster crow . . . simply because they can. We have a guy down the street who has a little terrier that is in the back yard, all night, every night, yapping away. Folks complain, but animal control won't do much. Unfortunately, for some reason roosters seem to be fair game for many municipalities.
If we ever have to cross that bridge, I plan on making it a court matter, as noise/nuisance ordinances generally have to be prosecuted/enforced fairly, and it wouldn't be that difficult to demonstrate a discriminatory and uneven enforcement. Can't go after roosters and grant immunity to the much more annoying yappy dogs.