The ruling paves the way for election prediction markets to operate in the United States.