refactor
refactor nested resource resolution to as a separate resolution function
refactor nested resource resolutino - create a special quality calculator
use DEPENDENT_RESOURCE resolution function instead of hardcoded resource description properties