The Pennsylvania Supreme Court ruled Wednesday that the municipal portion of tax on slot machines outside Philadelphia violates the state constitution because it effectively imposes different rates on casinos depending on their size.  Nearly $50 million is at stake.  The court gave the General Assembly four months to fix the 2004 law that legalized casinos.