Clean up rules controller