added activate and deactivate rule api
some rule id checks
fixed tests an indention
version bump