dorobena metoda ruleExists