RESTAPI: Generate Windows OS Patch Baseline - Windows

I came across a fixlet created by jgstew which works great but it adds all the patches!

Does anyone know how to specify which patches to add to the baseline?

For example, I want only the CRITICAL and IMPORTANT Security patches and patches that doesn’t have the word SQL or Office in the name.

https://bigfix.me/fixlet/details/6132#comments