     public var validationError: ValidationError
     public var form: Form?
     public var tag: String?
-    public var row: BaseRow?
+    public var row: RowOf<T>?
     
     public func isValid(value: T?) -> ValidationError? {
         

            _row = form!.rowBy(tag: tag!);
        }
        
        if (_row!.baseValue as? T == value){
            return nil;
        }else{
            return validationError


public struct RuleEqualsToRow<T: Equatable>: RuleType {
    
    public init(form: Form, tag: String, msg: String = "Fields doesn't match!"){
        self.validationError = ValidationError(msg: msg)
        self.form = form
        self.tag = tag
        self.row = nil;
    }
    
    public init(row: RowOf<T>, msg: String = "Fields doesn't match!"){
        self.validationError = ValidationError(msg: msg)
        self.form = nil
        self.tag = nil
