Protege-frames is a very handy tool for building frame systems. I have also used Prolog some years ago, but it is a full-fledged programming language with a steep learning curve, so I do not recommend it.
Dear Saba Ghashghaee madam first read the book on Artificial Intelligence by D W Patterson and another by Rich and Knight. you will understand the basics of frames and rule based system. then you will be able to implement them in any tool.
The best tools for that kind of applications are the classic expert system development tools like KEE, Knowledge Craft or CLIPS (used and developed by NASA).
Unfortunatly these tools (at least, some of them disolved with the companies). in the 80th and 90th. I was implementing this kind of applications for many years using the KEE Knowledge-Engineering-Environment - the best of its kind in my opinion.
Maybe you have a look into CLIPS and its extension modules. Typically you are not only interested in building a plain rulesystem, but also in doing automated decsion, which can be easily implemented with Truth-Maintanance or better an ATMS
The Frames concept is an object oriented paradigm build on top of ANSI-Common-LISP. So I suggest you dive into proper literature to get a better overview of that matter.
In my view any language with ability of interpreting commands can be used for construction of Rule Based System. For my PhD work I have used SQL for implementing the rules and the rule based engine in medical billing domain. Instead of using typical tools for RBS like KEE, CLISP, OPS-5 etc. it is better to use SQL, as it is a data base language so we can directly access the operational data for applying rules.
The rule based system, I developed, is operational in a USA based company since 2010. You may look at my publications for my research gate or Google Scholar profile.