Fix not being able to add SWRL rules.

I don't know whether this is the correct solution or just a workaround...