Added working with remote server, controlled in construct. Removed last check of first IF in removeRule() method. Useless.