Mabuhay Maharlika Timawa,
To my understanding early accounts of the Philippines seem to indicate the kampilan was not a Moro creation so much as it was a common weapon in various forms among several island areas from Borneo to the Malaccas to Luzon to he Visayas to the Moro lands. With the advent of colonial Spanish rule, it seems to have died out among the Luzonos and Visayans.
Note: if I remember right, the Luzon version as shorter than the Maranao version.
And yes, the Spanish banned bladed weaponry in their areas of control (as much as they could) because Filipinos were too good with bolos - any bolos.