Has it always ticked, or only recently started? Ticking is normal, the metal exhaust wants to expand and contract when it heats and cools. As the flanges bolt togethor hard, preventing even growth, they'll rub up against each other, making the ticking noise. Like a metal shed or roof as clouds go over head.
Rattling could be a loose baffle in the muffler, or garbage in the cat (too big to go through the matrix)