fix(docs): Explain return value of rule as function