# How to Use Building Block Rules in the Main Rule?

**URL:** <https://discuss.elastic.co/t/how-to-use-building-block-rules-in-the-main-rule/368789>\
**Category:** Kibana\
**Created:** [October 14, 2024, 2:52pm UTC](https://discuss.elastic.co/t/how-to-use-building-block-rules-in-the-main-rule/368789 "2024-10-14T14:52:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![karakoz](https://avatars.discourse-cdn.com/v4/letter/k/a9a28c/32.png) [@karakoz](https://discuss.elastic.co/u/karakoz)\
**Post date:** [October 14, 2024, 2:52pm UTC](https://discuss.elastic.co/t/how-to-use-building-block-rules-in-the-main-rule/368789/1 "2024-10-14T14:52:55Z")

</div>

Hello!

I am creating a rule that should trigger when a process from the Building Block Rules list is created in a temporary directory. I have successfully created a Building Block rule, but I’m not sure how to reference or use it in the main rule. Could you please advise on how to properly include the Building Block Rule in the main rule?

Thank you in advance for your help!

Best regards,  
Karakoz
