Ruling may allow future political candidates to temporarily hide their personal finances from voters.