Imported from https://github.com/nbassili/SWRL2SPIN