fix network rules.