How CCGs Work: The Golden Rule