The Supreme Court is expected to rule as early as Tuesday in a case that could open the door for corporations, unions and wealthy individuals to pour money into election ads.