added support for rules on properties