ALTER TABLE llx_prod_rules
    ADD COLUMN fk_ruleset INT NULL AFTER to_ref;

ALTER TABLE llx_prod_rules
    ADD INDEX idx_prod_rules_fk_ruleset (fk_ruleset);
