(a)Except as provided in section 1161 of this title, chapters 1, 3, and 5 of this title apply in a case under chapter 7, 11, 12, or 13 of this title, and this chapter, sections 307, 362(o), 555 through 557, and 559 through 562 apply in a case under chapter 15.