Get the preferred device link matching a given filter and platform.
The filter matches against attributes on the link, not the device.
| this |
the deployment entity |
| filter |
a device metadata filter |
|
a device, or NULL |