added rules for field write