Revert "Added Base Rule class"

This reverts commit 2436f80bdc46c9b81534003d6707cd87024c6e21.
Reverting base class. BaseRule class was rushed.