Rule based systems can be extremely useful for certain types of problems. I'm working on incorporating a rule based system into our business code to allow easier changes to that logic by the people it affects.
As for expert systems in terms of ai, I do think that's gone by the wayside, but probably not entirely gone (ditto for decision trees).