added preconditions closure for installations and RHELVersion task