CLSN-2020 move conditions directive on server side

code modified, singletone class used for it
CLSN-2020 move conditions directive on server side
enum named changed
CLSN-2020 move conditions directive on server side
 reference changed