public Pattern(int id, PatternMatchAction b, string pattern, params object[] args) { ID = id; Action = b; Term = Object.Format(pattern, args); }