1. A computer-implemented method comprising: receiving first input to a graphical user interface associating a property of a data model presented in the graphical user interface with a data view component of a document presented in the graphical user interface, wherein the data view component is a user interface element configured to receive a value and apply the received value to the property associated therewith; receiving second input to the graphical user interface specifying an access mode attribute for the property; and generating a first rule having a first expression that specifies the access mode attribute for the property, wherein the access mode attribute defines a restriction on how the data view component is configured to receive the value.