Average Non-Compliance of Program Rules