FieldsMatcher typedef
Compiles a rule's fields into a predicate over one field name.
Pluggable for the same reason, though the default — * within a segment,
** across segments — is what CASL.js does and what most callers want.
Implementation
typedef FieldsMatcher =
bool Function(String field) Function(List<String> fields);