Lambda defaults

Adds inline functions for setting defaults in rules. The function is called when the model is `save()`, or `data()` is called.