Legal and regulatory framework scoring