Former South Africa captain Victor Matfield has come out of retirement after signing a two-year contract for the Super Rugby Bulls.