Karnataka govt warns of action against violations of loudspeaker rule