Added rule and tests for rule alt-require.  Closes #18.