Hello,
Unfortunately, it is impossible to build a LDAP filter like you want as Active Directory does not support LDAP DN matching rules.
We suggest the following workaround. You can create a Scheduled Task that will set a certain property of the objects located under the necessary containers to a value that you specify.
Here's an example of such a Scheduled Task that sets the Employee Type property to MyEmployeeType:

Then, when configuring the Target Object for a Home Page Action, you can use the property value that you specified in the LDAP filter field:

That should do the job.