I looked up the dictionary, and found "よう" and "わけ" are both grammatical nouns (形式体言). But why is the 接続 different?
Moreover, I found many sentence patterns have their own rules. Are there any universal rules which determine which form you should conjugate into?