one level dependency resolve for task with guards.