Hello,<br><br>What is the best practice for reusing rules?  I&#39;ve got a license number validation rule that I need to reuse for different fact types.  For example, the first rule uses the license number in a CitationDTO fact:<br>
rule &quot;Citation DL Number&quot;<br>   ruleflow-group &quot;CitationEntryValidationFlow&quot;<br>    when<br>        CitationDTO($dln : citationSubject.driverLicense.driverAuthorizationId not matches &quot;^.{5,15}$&quot;)<br>
    then<br>        resultHolder.setMessage(GenericCitationFieldIds.DLN,&quot;DLN [{0}] must be at least 5 characters long and no more than 15 characters long.&quot;, new Object[]{$dln});<br>end<br><br>Then I have another rule that uses the license number from the InCourtSearchDTO:<br>
rule &quot;InCourt DL Number&quot;<br>    ruleflow-group &quot;InCourtSearchValidationGroup&quot;<br>    when<br>        InCourtSearchDTO( $d : dln not matches &quot;^.{5,15}$&quot;)<br>    then<br>        resultHolder.setMessage(UserLogonFieldIds.END_DT,&quot;DLN [{0}] must be at least 5 characters long and no more than 15 characters long.&quot;, new Object[]{$d});<br>
end<br><br>Obviously this is a poor implementation because the license number check &#39;not matches &quot;^.{5,15}$&quot;&#39; is duplicated.  Is there a way I can reuse this rule?<br><br>Thanks!<br>