Could you please give me advise what framework I should use to calculate rules which are saved in DB.
E.g., rule in DB:
if Y > 10, then X = А + 2 * B,
if Y <= 10, then X = А - 3 * B,
afterwards my program reads the rule and outputs X based on input values of Y, A and B.