Added rules to public data edit