add ability to remove declarations from rules