diff --git a/layout.sty b/layout.sty
index c42166e0210f0f7af5412307a7be008c17308cf3..940f95dc1d10be0929266e1b7fff4f92413dc19d 100644
--- a/layout.sty
+++ b/layout.sty
@@ -1346,3 +1346,16 @@ interior code={ \path[tcb fill interior] ([xshift=-2mm]interior.west)
   {\small\textcolor{gray}{(#1)}}
 }
 
+%%%%%%%%%%%%%%%%%%%% Rules to Reference %%%%%%%%%%%%%%%%%%%%
+
+\newcommand\makeRule[5]{
+  \subsubsection[#2: \roll{#3}{#4}, \glsentrytext{tn} #5]{#2}
+  \label{#1}%
+  \textit{\roll{#3}{#4}, \glsentrytext{tn}~#5.}%
+}
+
+\newcommand\makeAutoRule[3]{
+  \subsubsection[#2: #3]{#2}
+  \label{#1}%
+}
+