Add initial implementation of DuSE instance selection rules

Change-Id: I4b27122c3b34e14eb67790909e467244cc87fa22
Reviewed-by: Sandro S. Andrade <sandroandrade@kde.org>