Increase speed for database as minimize count of GetRulle() execution.