YARA rules can include external variables, which yara allows you to define with a -d flag.
It would be great if yextend could support external variables (perhaps with the same -d command line switch) and pass them on to the underlying yara invocations