A Brazilian judge has blocked the appointment of former President Lula da Silva to the cabinet of current leader, Dilma Rousseff.