improve dep assignment implementation
refactor dependency expression evaluation
refactor specs
update howto guide with dependency assignment