I am new to Domain Driven Design but trying to apply it in my current c#.net project. One of the requirements is to allow the user to define business rules to an entity (ie Client Name is required) Different groups of users will define their own sets of rules so I'll be storing them in a database.
I have read a few articles explaining the Specification Pattern but is there any way I could use this to apply rules that are stored in a database? In previous non-DDD projects I have had a IList property on the entity and called a GetBrokenRules(Client client) method to load the rules and check if the client is valid. Would I be better off doing the same sort of thing and not using the Specification Pattern?