There are 2 methods to manage your Sysdig Custom Falce Rules as code
Edit the falco_rules_local.yaml file and push this to the Sysdig Secure API - example in the api_method directory
Use the Sysdig Secure Terraform Module - example in the terraform_method directory