Skip to content

Commit 4cb9309

Browse files
authored
Update README (#140)
minor changes to last commit
1 parent 4a8ac23 commit 4cb9309

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ Rules.Framework is a generic framework that allows defining and evaluating rules
55
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/8b48f4541fba4d4b8bad2e9a8563ede3)](https://app.codacy.com/gh/Farfetch/rules-framework?utm_source=github.com&utm_medium=referral&utm_content=Farfetch/rules-framework&utm_campaign=Badge_Grade_Settings)
66
[![.NET build](https://github.com/luispfgarces/rules-framework/actions/workflows/dotnet-build.yml/badge.svg)](https://github.com/luispfgarces/rules-framework/actions/workflows/dotnet-build.yml)
77

8-
## What is a rule?
8+
## What is a rule
99

1010
A rule is a data structure limited in time (`date begin` and `date end`), whose content is categorized by a `content type`. Its applicability is constrained by `conditions`, and a `priority` value is used as untie criteria when there are multiple rules applicable.
1111

12-
## Why use rules?
12+
## Why use rules
1313

1414
By using rules, we're able to abstract a multiplicity of business scenarios through rules configurations, instead of heavy code developments. Rules enable a fast response to change and a better control of the business logic by the product owners.
1515

@@ -42,7 +42,7 @@ var rulesEngine = RulesEngineBuilder.CreateRulesEngine()
4242
.WithContentType<ContentType>()
4343
.WithConditionType<ConditionType>()
4444
.SetInMemoryDataSource()
45-
.Configure(c => c.PriorityCriteria = PriorityCriterias.BottommostRuleWins)
45+
.Configure(c => c.PriorityCriteria = PriorityCriterias.TopmostRuleWins)
4646
.Build();
4747
```
4848
Use the `RuleBuilder` to assemble a rule.
@@ -111,7 +111,7 @@ Access is done via the endpoint `{host}/rules/index.html`.
111111

112112
## Features
113113

114-
The following list presents features already available and others projected:
114+
The following list presents features already available and others planned:
115115
- [x] Rules evaluation (match one)
116116
- [x] Rules evaluation (match many)
117117
- [x] Rules content serialization
@@ -135,4 +135,4 @@ Head over to [CONTRIBUTING](CONTRIBUTING.md) for further details.
135135

136136
## License
137137

138-
[MIT License](LICENSE.md)
138+
[MIT License](LICENSE.md)

0 commit comments

Comments
 (0)