Fixed problem with self.rules

Closed username-removed-1109441 requested to merge FoxData/Titanium:develop into develop

This should fix a problem I ran into while developing some test app.