Add support for data bindings for validation rules.

Signed-off-by: crynobone <crynobone@gmail.com>