you need to get the Binding first before you get the rules
Binding b= BindingOperations.GetBinding(textboxMin,TextBox.TextProperty);
b.ValidationRules
else you can have BindingExpression and check for HasError property
BindingExpression be1 = BindingOperations.GetBindingExpression (textboxMin,TextBox.TextProperty);
be1.HasError