title: Creating rules programmatically in WFF
body: <p>i need to create rule in Windows Workflow Foundation without using RuleSet editor. Maybe i didnt search enough on google but i cant find any examle of this.</p>
  
  <p>Example of desired result: </p>
  
  <pre><code>var ra = new List&lt;RuleAction&gt;();
  ra.Add(new RuleAction());
  var rc = new RuleCondition();
  
  var rule = new Rule("test", rc, ra, null);
  </code></pre>
  
  <p>Thanks ahead</p>