Using fuzzy relation equations in the construction of inference mechanisms in expert systems