Variable for Query DSL in Kibana Rules

Hi Elastic community.

Currently, my space has many rules running exactly the same Query DSL. Every time I want to change the Query DSL, I have to modify all of the rules. Is there a way, to define space variables (e.g. a JSON, or at least a primitive), and refer to the space variables in the Query DSL?