ルールを明確にするための句読点の使用

コンマまたは括弧を使用して、それらを使用しなかった場合に複数の解釈があり得るようなルールが作成されることを回避します。

あいまいさは、ルールの一部が、意味的には正しい、少なくとも 2 つの解釈を持っている場合、または 2 つの全く同じ用語または語句が語彙に含まれている場合に起こります。

例えば、以下のステートメントはあいまいです。

if
all of the following conditions are true :
   - the category of the customer is Gold 
   - the age of the customer is at most 15
and 
   the salary of the customer is more than 100

the salary of the customer is more than 100 が the age of the customer is at most 15 に関連付けられているかどうか、 またはそれがルールの 3 番目の条件かどうかを判別できないため、Rule Designer で、あいまいさのエラー (緑色の 整合性エラー・アイコン で表示) が出されます。

このあいまいさを取り除くには、the age of the customer is at most 15 条件ステートメントの最後にコンマを追加することができます。

if
all of the following conditions are true : 		
   - the category of the customer is Gold 		
   - the age of the customer is at most 15,
and
   the salary of the customer is more than 100

あいまいさを取り除くための代替方法としては、括弧を使用して式をグループ化する方法があります。

2 つの全く同じ用語または語句が語彙に含まれている場合は、それらの用語または語句の 1 つを変更して、あいまいさを取り除いてください。