eliminate null rules.