Formula editor

first version supporting creation and editing of rules (including validation rules)