One general theory of Reverse Engineering