restore display rule function
Added flush after article api post to fix tests