Smith warns of 'attack on rule of law' under Trump