AI Licensing: Rights, Agreements, and Legal Framework