<p>Can you provide a good example of rule definition language written in C#.<br>
Java guys have <a href="http://herzberg.ca.sandia.gov/" rel="noreferrer">JESS</a>, is there anything good for C#?</p>

[{'answer_id': 43810, 'author': 'Jon Limjap', 'author_id': 372, 'author_profile': 'https://Stackoverflow.com/users/372', 'pm_score': 4, 'selected': True, 'text': '<p>This page shows some examples of open-source rules engines in C#: <a href="http://csharp-source.net/open-source/rule-engines" rel="noreferrer">http://csharp-source.net/open-source/rule-engines</a></p>\n'}, {'answer_id': 43813, 'author': 'samjudson', 'author_id': 1908, 'author_profile': 'https://Stackoverflow.com/users/1908', 'pm_score': 0, 'selected': False, 'text': '<p>There is the Microsoft Business Rules Engine: <a href="http://msdn.microsoft.com/en-us/library/aa561216.aspx" rel="nofollow noreferrer">http://msdn.microsoft.com/en-us/library/aa561216.aspx</a>. Not sure if it can only be used inside Biztalk - it does says it is a .Net Class Library.</p>\n'}, {'answer_id': 193283, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 0, 'selected': False, 'text': "<p>Microsoft Business Rule Engine(BRE) is quite nice. But(and that's a big BUT) you'll need a BizTalk Server license to use it.</p>\n"}, {'answer_id': 2350144, 'author': 'Sentient', 'author_id': 59398, 'author_profile': 'https://Stackoverflow.com/users/59398', 'pm_score': 2, 'selected': False, 'text': '<p>You can use the forward chaining inference engine that is part of Windows Workflow Foundation (.NET 3.5 and higher) The best part is that this has a free runtime licensing.</p>\n\n<p>You can use the <a href="http://www.acumenbusiness.com/products.htm" rel="nofollow noreferrer">Rule Manager</a> from Acumen Business and install the Windows Workflow Foundation adapter. Once installed, export the rules as WFRules (*.rules). \nA visual studio .NET solution will be generated that shows how the rule engine can be invoked standalone (no workflow is necessary)</p>\n\n<p>See also <a href="http://bizknowledge.blogspot.com/search/label/Windows%20Workflow%20Foundation" rel="nofollow noreferrer">http://bizknowledge.blogspot.com/search/label/Windows%20Workflow%20Foundation</a></p>\n'}, {'answer_id': 4196581, 'author': 'RobS', 'author_id': 18471, 'author_profile': 'https://Stackoverflow.com/users/18471', 'pm_score': 1, 'selected': False, 'text': '<p>You could use <a href="http://msdn.microsoft.com/en-us/netframework/aa663328.aspx" rel="nofollow">Windows Workflow Foundation</a>\'s (WF) workflow engine with C#.  I\'d started a small and simple project using WF as the workflow engine, it\'s actually quite straightforward to use.  Check out the first part entry I\'ve been developing on this <a href="http://www.sanderstechnology.com/?p=10166" rel="nofollow">here</a>.</p>\n\n<p>What is interesting about WF is that you don\'t have to use the whole thing if you want to - if you only want to write some custom rules against some entities or objects, you can - quite ingenious!  Also, it\'s a lot less to take on board than BizTalk\'s BRE (and no licensing cost).</p>\n\n<p>You need to add a reference to the following .Net assemblies, available in the .Net Framework v3.0 and onwards:</p>\n\n<ul>\n<li>System.Workflow.Activities</li>\n<li>System.Workflow.ComponentModel</li>\n<li>System.Workflow.Runtime</li>\n</ul>\n\n<p>Check out the article for more info.</p>\n'}, {'answer_id': 7816672, 'author': 'Arnaud', 'author_id': 652590, 'author_profile': 'https://Stackoverflow.com/users/652590', 'pm_score': 2, 'selected': False, 'text': '<p>Try <a href="http://rulesengine.codeplex.com" rel="nofollow">http://rulesengine.codeplex.com</a>\nIt has a fluent-interface wrapper for creating rules.\nIt\'s lightweight and simple to use.</p>\n'}, {'answer_id': 9750663, 'author': 'John Hansen', 'author_id': 368423, 'author_profile': 'https://Stackoverflow.com/users/368423', 'pm_score': 0, 'selected': False, 'text': '<p>Take a look at <a href="http://jetfire.codeplex.com/" rel="nofollow">Jetfire on codeplex</a>.   It supports forward chaining \'<a href="http://wiki.jetfire.ca/Rules.ashx" rel="nofollow">rules</a>\'.</p>\n'}]
['https://Stackoverflow.com/questions/43805', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1196/']