[FIXED JENKINS-20207] - Added And/Or restriction with multiple entries 

Resolves https://issues.jenkins-ci.org/browse/JENKINS-20207

Signed-off-by: Oleg Nenashev <nenashev@synopsys.com>