Bug fixes for actually running Rules.