export type Rule = (value?:any)=>string|true|undefined;